上一页 1 ··· 48 49 50 51 52
摘要: 判断两个字符串的编辑距离是不是1.两个字符串距离是1的可能性:1)两个字符串长度相等:s="abc",t="aec";2)两个字符串长度相差1(两种情况):s="abc",t="abce";或s="abc",t="aebc";bool isOneEditDistance(string s, stri... 阅读全文
posted @ 2015-02-08 22:48 Vae永Silence 阅读(167) 评论(0) 推荐(0)
摘要: Given a sorted integer array where the range of elements are [lower,upper] inclusive, return its missing ranges.For example, given[0, 1, 3, 50, 75],lo... 阅读全文
posted @ 2015-02-08 22:47 Vae永Silence 阅读(400) 评论(0) 推荐(0)
上一页 1 ··· 48 49 50 51 52