← All problemsSign in

Naming the Twins

Its celebration time in Byteland. Chef Forgetful has just had twins. But chef, as his name suggests, he is very forgetful! He even forgets all the names he had come up with earlier. So he asks his friends to help him decide. But since he is very likely to forget two different names, he wants one to be the anagram of other. Help chef decide whether the given names are anagrams of one another. NO

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