← All problemsSign in

Santa And His Brothers

Santa used to live with his Father. His Father had N sons. While his father was dying he told Santa about his N brothers who lives in different cities(Name of each city is denoted only by a lowercase alphabet i.e a-z).Now Santa wants to meet all of his brothers but with the amount of money he has he can visit only one city, Now he wants to visit that city in which he has the maximum number of brot

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