← All problemsSign in

Cab Service

CAB SERVICE Mr. GOGO(Crime Master Gogo) is a very smart person. He uses cab service to go wherever he wants to go. He always directs the cab driver himself to minimize the fare as he has a shortage of money. He has N different friends at N distinct stations connected through different paths. He wishes to meet his friends. What is the maximum fare he has to pay to go from any one friend’s st

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