A graph may have several disconnected components. For each queried node, return how many other nodes it can reach.
A graph may have several disconnected components. For each queried node, return how many other nodes it can reach.
The discussion opens with the full question.