← All problemsSign in

Road Map

You are provided with the following road map : Every intersection of a path has a red light on it i.e: points marked A, B, C, D, E, F, G, H, I, J, K, etc. have a red light. The red light stoppage time and the time that the car takes to travel each section of the road will be provided as input. Assuming that there is only one car on the entire map and the car has to stop at EVERY RED LIGHT (for th

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