← All problemsSign in

Cable Cars

Build-And-Go company is doing project in Sri Lanka to people by making cabel car tracks between large trees. Each large tree is indexed from 1 to N. Company will make M cables between different trees. They hired you to develop hybrid mobile application using Nativescript which returns possibility of travelling for given start tree number and destination tree number. Now you need to implement the

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