← All problemsSign in

Longest Name

There is a techfest organised in Ayush's college named as Equilibrio. Ayush saxena is a bright student. 3 professors suggested 3 different names for the techfest, name1,name2 and name3. Now, the coordinator is confused and he is desperate for a solution because the coordinator can't select a particular name. So, he went to professors and every professor advised him that he can delete some or 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