摘要: Palindrome Partitioning II Given a string s, partition s such that every substring of the partition is a palindrome. Return the minimum cuts needed fo 阅读全文
posted @ 2017-07-09 17:01 Little_Lu 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Maximum Subarray Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array 阅读全文
posted @ 2017-07-09 15:46 Little_Lu 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 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 fo 阅读全文
posted @ 2017-07-09 10:53 Little_Lu 阅读(225) 评论(0) 推荐(0) 编辑