摘要: stack: 括号匹配 20 :http://www.cnblogs.com/zle1992/p/8469603.html 最长括号匹配32 :http://www.cnblogs.com/zle1992/p/8469694.html RPN逆波兰表达式 150 :http://www.cnblog 阅读全文
posted @ 2018-02-24 15:00 乐乐章 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. 阅读全文
posted @ 2018-02-24 14:36 乐乐章 阅读(304) 评论(0) 推荐(0) 编辑
摘要: Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist 阅读全文
posted @ 2018-02-24 14:12 乐乐章 阅读(155) 评论(0) 推荐(0) 编辑