找出两个字符串中最长的相同的字符串

问题:html 请写一个函数,找出两个字符串中最长的相同的字符串。好比: 字符串“likeyou”和“Lookyou” 最长的相同字符串是“you” 怎么写?函数 来源:spa http://topic.csdn.net/u/20100610/17/94c675b2-0ad9-43cd-b091-130ae6091d98.html.net 假设str1= “abcde”code        St
相关文章
相关标签/搜索