String and bit manipulation

Using bitmask to solve the string problems

1371. Find the Longest Substring Containing Vowels in Even Counts

Solutions

Change the map to a vector can make it much faster

1542. Find Longest Awesome Substring

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store