FIND CITIES
CodeChefOpen on judge ↗
This time chef and Chefina are travelling in Shillong City as they heard very much about its natural beauty.You are given $N$ places name as string $(String_1,String_2...String_N)$ in order they travelled .Please note that they may come again to a previously travelled place. Along travelling they want to make it more interesting .Chefina gives a task to chef as she wants to check his memory .Chefi
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