Forever Single
CodeChefOpen on judge ↗
Subham is a mechanical engineering student and he is also a Zabra fan of Zakir Khan. In simple words, he is a " Sakht Launda " who wants to live a single life forever. He is looking for a best friend who is also single like him. One day he went to a park where couples were enjoying their day. Now he is searching for a single guy. Help him to find that person who is single. Consider people as elem
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.
Sign in to chat with the tutor and save your progress.
Sign in to start