1901. Find a Peak Element II
Previous1900. The Earliest and Latest Rounds Where Players CompeteNext1902. Depth of BST Given Insertion Order
Last updated
Last updated
**Input:** mat = [[1,4],[3,2]]
**Output:** [0,1]
**Explanation:** Both 3 and 4 are peak elements so [1,0] and [0,1] are both acceptable answers.**Input:** mat = [[10,20,15],[21,30,14],[7,16,32]]
**Output:** [1,1]
**Explanation:** Both 30 and 32 are peak elements so [1,1] and [2,2] are both acceptable answers.