2015年6月4日

摘要: 题目:Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exa... 阅读全文
posted @ 2015-06-04 21:56 承续缘 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 题目: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 the o... 阅读全文
posted @ 2015-06-04 20:22 承续缘 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 题目:A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message co... 阅读全文
posted @ 2015-06-04 14:49 承续缘 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 题目:Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the ... 阅读全文
posted @ 2015-06-04 10:10 承续缘 阅读(184) 评论(0) 推荐(0) 编辑

导航