Can there be any more optimized solution to this problem instead of the simple brute force one:-
Given a vector of strings, return the index of an element that has the maximum number of vowels.
Can there be any more optimized solution to this problem instead of the simple brute force one:-
Given a vector of strings, return the index of an element that has the maximum number of vowels.