摘要: 一道难点并不在于编程和逻辑的算法题,更像是脑筋急转弯 从左右两侧向中间移动两根指针,同时保留两侧最大值 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)