摘要:
题目: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.F... 阅读全文
posted @ 2014-07-29 09:27
爱做饭的小莹子
阅读(3068)
评论(0)
推荐(0)
摘要:
题目:Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.题解:这道题看所给的字符串数组里面有多少个是同一个变形词变的。这道... 阅读全文
posted @ 2014-07-29 08:55
爱做饭的小莹子
阅读(3256)
评论(0)
推荐(0)
摘要:
题目:Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.OJ's undirected graph serialization:Nodes are label... 阅读全文
posted @ 2014-07-29 05:29
爱做饭的小莹子
阅读(11074)
评论(3)
推荐(1)

浙公网安备 33010602011771号