摘要: Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example,Given:s1 = "aabcc",s2 = "dbbca", When s3 = "aadbbcbcac", ret 阅读全文
posted @ 2016-08-24 14:53 冰凌花花~ 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Given two strings, find the longest common substring. Return the length of it. Example Given A = "ABCD", B = "CBCE", return 2. Given A = "ABCD", B = " 阅读全文
posted @ 2016-08-24 11:13 冰凌花花~ 阅读(144) 评论(0) 推荐(0) 编辑