Given a string consisting of lowercase English vowels, return the length of the longest subsequence containing all 5 vowels ('a', 'e', 'i', 'o', 'u') in alphabetical order. Return 0 if no valid…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.