Find node that reaches maximum nodes in functional graph
Filed under Delhivery
The question
Given a directed graph where each node has at most 1 outgoing edge, find the node that visits the maximum number of nodes upon traversal.
No write-up yet. Related questions below have one.
Related Delhivery questions
Collected from public candidate posts and coding forums. Updated Nov 2026.