会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Do what you really want to.
首页
新随笔
联系
管理
2019年11月23日
42. Trapping Rain Water via Java
摘要: 一道难点并不在于编程和逻辑的算法题,更像是脑筋急转弯 从左右两侧向中间移动两根指针,同时保留两侧最大值 class Solution { public int trap(int[] height) { if (height==null||height.length < 3) { return 0;
阅读全文
posted @ 2019-11-23 16:39 La_Campanella
阅读(118)
评论(0)
推荐(0)
公告