**Problem Statement:**
Given the required input arguments, write an efficient algorithm to solve the **Pacific Atlantic Water Flow** problem. Implement the required logic as specified by standard definitions for this classic algorithmic challenge.
**Hint / Expected Approach:**
Reverse BFS from both ocean borders
**Edge Cases to Consider:**
- (1) 1×1 grid (both oceans)
- (2) All same height
- (3) No cell reaches both