Chef and confusing road
CodeChefOpen on judge ↗
Problem Statement The city of Delhi is really huge and people get lost there easily.The city consists of intersections and roads . A common set of intersections where people get lost is where there are 2 different ways to go from one intersection to other using 2 roads. For example there are 4 intersections a,b,c,d , suppose we can go from a to b then b to c and also we can go to d from a and to
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