2014年4月19日

Trapping Rain Water

摘要: Givennnon-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.Fo... 阅读全文

posted @ 2014-04-19 22:59 pengyu2003 阅读(142) 评论(0) 推荐(0) 编辑

Jump Game II

摘要: Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu... 阅读全文

posted @ 2014-04-19 22:12 pengyu2003 阅读(133) 评论(0) 推荐(0) 编辑

Interleaving String

摘要: Givens1,s2,s3, find whethers3is formed by the interleaving ofs1ands2.For example,Given:s1="aabcc",s2="dbbca",Whens3="aadbbcbcac", return true.Whens3="... 阅读全文

posted @ 2014-04-19 11:49 pengyu2003 阅读(139) 评论(0) 推荐(0) 编辑

导航