摘要: leetcode 022. Generate Parentheses "Concise recursive C++ solution" "The most concise solution I know ever" "My 4ms C++ solution without using recursi 阅读全文
posted @ 2016-09-17 18:49 zeroArn 阅读(121) 评论(0) 推荐(0)
摘要: class Solution { public: int strStr(string haystack, string needle) { if(needle.empty())return 0; //needle empty if(haystack.empty()) return -1; //haystack empty fo... 阅读全文
posted @ 2016-09-17 08:39 zeroArn 阅读(127) 评论(0) 推荐(0)