![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
拥抱新生活
怀揣着对未来世界美好的憧憬,从容燃烧
展开
-
leetcode: Find All Anagrams in a String
class Solution {public: vector<int> KMP_next(string match) { vector<int>next(match.size()); next[0] = -1; int j = 0, k = -1; while (j<match.size() - 1)原创 2016-10-28 10:59:16 · 239 阅读 · 0 评论 -
leetcode:string hard系列三:word break
https://leetcode.com/problems/word-break/https://leetcode.com/problems/word-break-ii/class Solution {public: vector wordBreak(string s, unordered_set& wordDict) { vector原创 2016-10-18 22:30:27 · 365 阅读 · 0 评论 -
leetcode:string hard系列二:word ladder
问题描述:word ladderIIIword breakword search原创 2016-10-17 22:27:53 · 390 阅读 · 0 评论