摘要: 题目: Given a string s, partition s such that every substring of the partition is a palindrome. Return the minimum cuts needed for a palindrome partitio 阅读全文
posted @ 2017-10-17 14:13 荒野第一快递员 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For ex 阅读全文
posted @ 2017-10-17 12:31 荒野第一快递员 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence where each word 阅读全文
posted @ 2017-10-17 11:06 荒野第一快递员 阅读(236) 评论(0) 推荐(0) 编辑