2014年7月23日

Leetcode: Substring with Concatenation of All Words

摘要: Description:You are given a string,S, and a list of words,L, that are all of the same length. Find all starting indices of substring(s) in S that is a... 阅读全文

posted @ 2014-07-23 18:32 soyscut 阅读(174) 评论(0) 推荐(0) 编辑

Leetcode:Palindrome Partitioning II

摘要: Description:Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome part... 阅读全文

posted @ 2014-07-23 18:26 soyscut 阅读(150) 评论(0) 推荐(0) 编辑

导航