[LeetCode] max-increase-to-keep-city-skyline
2020-01-11
문제 Example:
Input: grid = [3,0,8,4,2,4,5,7,9,2,6,3,0,3,1,0]
Output: 35
Explanation:
The grid is:
[ 3, 0, 8, 4,
2, 4, 5, 7,
9, 2, 6, 3,
0, 3, 1, 0 ] The skyline viewed from top or bottom is: 9, 4, 8, …