← Google questions
CodingReported in a candidate post, Dec 2024

Where water collects in a matrix

Filed under Google

The question

Given a matrix where water starts falling from each point, find the point where the water gets stored, using DFS and DP.

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

Related Google questions

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