[LeetCode] Triangle 解题报告

摘要: Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol... 阅读全文
posted @ 2013-01-10 15:46 小刀初试 阅读(167) 评论(0) 推荐(0) 编辑

[LeetCode] Trapping Rain Water 解题报告

摘要: 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 @ 2013-01-10 14:36 小刀初试 阅读(149) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示