Leetcode 0417. Pacific Atlantic Water Flow
Posted on Sun 19 January 2025 in Leetcode • Tagged with bfs-grid, reverse-thinking
Question Link : https://leetcode.com/problems/pacific-atlantic-water-flow/
Difficulty: Medium
Premium: False
Question
There is an m x n rectangular island that borders both the Pacific Ocean and Atlantic Ocean. The Pacific Ocean touches the island's left and top edges, and the Atlantic Ocean touches the island's right and bottom edges …
Continue reading