摘要: 链接:https://leetcode-cn.com/problems/substring-with-concatenation-of-all-words/ 代码 class Solution { public: vector<int> findSubstring(string s, vector< 阅读全文
posted @ 2020-06-20 16:05 景云ⁿ 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/divide-two-integers/ 代码 class Solution { public: int divide(int dividend, int divisor) { typedef long long LL; vec 阅读全文
posted @ 2020-06-20 15:46 景云ⁿ 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/implement-strstr/ 代码 class Solution { public: int strStr(string haystack, string needle) { int n = haystack.size() 阅读全文
posted @ 2020-06-20 15:26 景云ⁿ 阅读(53) 评论(0) 推荐(0) 编辑