代码改变世界

[LeetCode] 2282. Number of People That Can Be Seen in a Grid_Medium tag: stack.

2023-10-11 05:59  Johnson_强生仔仔  阅读(9)  评论(0编辑  收藏  举报
You are given an m x n 0-indexed 2D array of positive integers heights where heights[i][j] is the height of the person standing at position (i, j). A