โ† Yahoo questions

Find the last tap to receive water on a mountain graph

Filed under Yahoo

The question

Given a mountain with multiple taps connected to each other above and below in a graph structure starting from a tree and generalized to a general graph, find which tap will be the last one to get water from a spring at the top of the mountain.

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

Related Yahoo questions

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