2015年1月20日

[leetcode] Distinct Subsequences

摘要: Distinct SubsequencesGiven a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is... 阅读全文

posted @ 2015-01-20 13:12 cha1992 阅读(120) 评论(0) 推荐(0) 编辑

[leetcode] Count and Say

摘要: Count and SayThe count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is r... 阅读全文

posted @ 2015-01-20 10:41 cha1992 阅读(133) 评论(0) 推荐(0) 编辑

导航