← All problemsSign in

Harshit Minus 5T

Harshit recently got robbed of his 5T, and using his car he wanted to go to a police station to file a complaint. Also, his mother is really worried as she cannot contact him anymore (cause no 5T), hence he has to go to a police station, and then go home as soon as possible. He lives in a city of N (1 to N) nodes and N-1 edges, start node S and finish node F given. There are P( police stations in

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