2016年5月25日

Word Break

摘要: Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words. For 阅读全文

posted @ 2016-05-25 21:38 Sheryl Wang 阅读(183) 评论(0) 推荐(0) 编辑

Distinct Subsequences

摘要: Given a string S and a string T, count the number of distinct subsequences of T in S. A subsequence of a string is a new string which is formed from t 阅读全文

posted @ 2016-05-25 20:31 Sheryl Wang 阅读(161) 评论(0) 推荐(0) 编辑

导航