← All problemsSign in

Chef and words

As we our chef likes to play with words. Today he is calculating the power of words .The power of a word is calculated by finding the vowels in the word and adding their respective positions in the English alphabet series.(For eg:- a=1; e=5, i=9 and so on). You have to give N words to chef and chef will rearrange those words in the decreasing order of their power. Note: If the power of two numbers

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start