摘要: 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 @ 2015-11-23 22:04 zengzy 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 一.Pascal's TriangleGivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], [1,2,1], [1,... 阅读全文
posted @ 2015-11-23 20:51 zengzy 阅读(138) 评论(0) 推荐(0) 编辑
levels of contents