This content is archived!

For the 2018-2019 school year, we have switched to using the WLMOJ judge for all MCPT related content. This is an archive of our old website and will not be updated.

Loop through each character in each word and check if it’s vowel or consonant dominant (or neither). Then determine which words are dominant.

Time complexity

\mathcal{O}(C), where C is the total number of letters.


Read the problem.