摘要:
'.' Matches any single character.'*' Matches zero or more of the preceding element.The matching should cover the entire input string (not partial).The function prototype should be:bool isMatch(const char *s, const char *p)Some examples:isMatch("aa","a") → falseisM 阅读全文
posted @ 2013-10-08 14:19
懒猫欣
阅读(204)
评论(0)
推荐(0)
摘要:
Given a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning of s. For example, given s = "aab",Return 1 since the palindrome partitioning ["aa","b"] could be produced using 1 cut.首 阅读全文
posted @ 2013-10-08 00:32
懒猫欣
阅读(181)
评论(0)
推荐(0)
浙公网安备 33010602011771号