摘要: Problem:Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example,S="ADO... 阅读全文
posted @ 2015-08-24 23:28 airforce 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Problem:Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is formed from ... 阅读全文
posted @ 2015-08-24 04:30 airforce 阅读(174) 评论(0) 推荐(0) 编辑