Help me understand this input -> [[1,2,3],[8,9,4],[7,6,5]]
The expected output is [[0,2],[1,0],[1,1],[1,2],[2,0],[2,1],[2,2]]\nI don\'t get why [2, 1] is includes\n\n\n  Pacific ~   ~   ~\n       ~  1   2   3  *\n      
The expected output is [[0,2],[1,0],[1,1],[1,2],[2,0],[2,1],[2,2]]\nI don\'t get why [2, 1] is includes\n\n```\n  Pacific ~   ~   ~\n       ~  1   2   3  *\n       ~  8   9   4  *\n       ~  7   6   5  *\n          *   *   *  Atlantic\n\n```\n\nI get that [2, 1] can flows into Atlantic by traveling left, but it\'s blocked by 7 on the left, and 9 on top, how does it flows to Pacific?\n\nI get it now, 6 -> 5 -> 4 -> 3 -> Pacific. Somehow I thought it needs to be travering the same direction, which doesn\'t make sense at all.
[]