then why is 3->2 not possible ? 10<20 and there is a path 3->1->2. why is it not possible?
then why is 3->2 not possible ?
10<20 and there is a path 3->1->2. why is it not possible?
Path 4 → 3 is not there. But 3 → 4 is there. According to the question, we can jump if there is a path between towns i and j, i.e. a path from town i to town j or from town j to town i.
So, the jump 4–>3 is a possible one.
understood. Thanks