摘要: https://leetcode.com/problems/divide two integers/ cpp include class Solution { public: int divide(int dividend, int divisor) { long long int a=divide 阅读全文
posted @ 2019-05-13 09:53 benda 阅读(94) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/implement strstr/ cpp class Solution { public: void KMP(string needle, vector &nextval) { nextval[0] = 1;//1长度没有真前后缀的公共部 阅读全文
posted @ 2019-05-13 09:52 benda 阅读(84) 评论(0) 推荐(0) 编辑