Alice walks a shortest path in an unweighted graph. Find every node that lies on some shortest path — and decide whether she can avoid Bob.
Alice walks a shortest path in an unweighted graph. Find every node that lies on some shortest path — and decide whether she can avoid Bob.
The discussion opens with the full question.