摘要:
难题 1 class Solution { 2 public: 3 void dfs(string s, vector &tmp, vector &res, unordered_set &unused, unordered_set &dict) { 4 if (s.size(... 阅读全文
posted @ 2014-01-16 12:06
ying_vincent
阅读(137)
评论(0)
推荐(0)
摘要:
看的别人的代码改了下 1 class Solution { 2 public: 3 bool wordBreak(string s, unordered_set &dict) { 4 vector f(s.size()+1); 5 f[0] = true; 6... 阅读全文
posted @ 2014-01-16 10:46
ying_vincent
阅读(123)
评论(0)
推荐(0)
浙公网安备 33010602011771号