Pacific Atlantic Water Flow

#417
Medium
Graphs
O(m * n)
O(m * n)
Google
Facebook
Amazon
View on LeetCode

Problem Description

Given an m x n rectangular island that borders both the Pacific and Atlantic oceans, return coordinates that can flow to both oceans.