LeetCode MEDIUM 417 Pacific Atlantic Water Flow Summary
Generated by Codex with GPT-5
Quick facts
- Difficulty:
MEDIUM - Problem: Pacific Atlantic Water Flow
- Main tags:
Array,Depth-First Search,Breadth-First Search,Matrix
What the problem is really asking
Each cell in the grid is a height. Water can flow from a cell to one of its four neighbors if the neighbor is at the same height or lower.
Continue ...