-
[LeetCode] 42. Trapping Rain WaterLife/PS 2026. 5. 27. 17:17

At the point k, the height of the water surface is min(max(h[1...k]), max(h[k+1...])).

'Life > PS' 카테고리의 다른 글
[LeetCode] 41. First Missing Positive (0) 2026.05.24 [LeetCode] 32. Longest Valid Parentheses (0) 2026.05.23 [LeetCode] 25. Reverse Nodes in k-Group (0) 2026.05.22 [LeetCode] 30. Substring with Concatenation of All Words (0) 2026.05.22 [LeetCode] 23. Merge k Sorted Lists (0) 2026.05.18