摘要: Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. Notice Bonus point if you 阅读全文
posted @ 2016-09-04 06:58 amazingzoe 阅读(135) 评论(0) 推荐(0)
摘要: There is a fence with n posts, each post can be painted with one of the k colors.You have to paint all the posts such that no more than two adjacent f 阅读全文
posted @ 2016-09-04 06:57 amazingzoe 阅读(162) 评论(0) 推荐(0)