Leet_Code_42_接雨水
摘要:
public int trap(int[] height) { int result = 0; int maxValue = -1; int maxAdder = 0; //取数组最大的下标和它的值 for (int i=0;i<height.length;i++) { if (height[i] 阅读全文
posted @ 2021-03-16 22:24 MaXianZhe 阅读(48) 评论(0) 推荐(0)