← All problemsSign in

Shop of strings

Aditya went to shop for strings in the market for is sister and his sister only likes beautiful strings. Strings can be classified as beautiful if they - 1. form a palindrome. 2. No alphabet repeats itself more than 2 times. 3. If length of string is odd it cannot end with a vowel (a, e, i, o, u) 4. If length of string is even it must end with a vowel 5. If a string repeats more than once in group

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