โ† Juspay questions

Maximum Weight Node in a Maze

Filed under Juspay

The question

Given an array representing unidirectional edges in a maze of N cells, find the node number of the maximum weight node, where a node's weight is the sum of the node numbers of all nodes pointing to it.

No write-up yet. Related questions below have one.

Related Juspay questions

Collected from public candidate posts and coding forums. Updated Nov 2026.