提交 79b879c6 编写于 作者: GreyZeng's avatar GreyZeng

trapping rain water

上级 0212f18e
package 练习题.leetcode.hard;
package 练习题.接雨水系列问题;
//给定 n 个非负整数表示每个宽度为 1 的柱子的高度图,计算按此排列的柱子,下雨之后能接多少雨水
// Leetcode题目:https://leetcode.com/problems/trapping-rain-water/
......
package 练习题.leetcode.hard;
package 练习题.接雨水系列问题;
import java.util.Comparator;
import java.util.PriorityQueue;
//给你一个 m x n 的矩阵,其中的值均为非负整数,代表二维高度图每个单元的高度,请计算图中形状最多能接多少体积的雨水。
// Leetcode题目:https://leetcode.com/problems/trapping-rain-water-ii/
//Constraints:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册