摘要: 原题地址:https://oj.leetcode.com/problems/restore-ip-addresses/题意:Given a string containing only digits, restore it by returning all possible valid IP add... 阅读全文
posted @ 2014-06-04 16:13 南郭子綦 阅读(3500) 评论(2) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/interleaving-string/题意:Givens1,s2,s3, find whethers3is formed by the interleaving ofs1ands2.For example,Given:s1... 阅读全文
posted @ 2014-06-04 12:56 南郭子綦 阅读(2493) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/distinct-subsequences/题意:Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subseq... 阅读全文
posted @ 2014-06-04 10:02 南郭子綦 阅读(2017) 评论(2) 推荐(0) 编辑