02 2019 档案

摘要:给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 示例 1: 示例 2: 示例 3: 优化解法2:思路是相似的 其余解法可参考: https://www.cnblogs.com/ariel-dreamland/p/8668286.html 注:对于在v和leecode中使用max会显 阅读全文
posted @ 2019-02-27 22:48 CarrollTM 阅读(522) 评论(0) 推荐(0)
摘要:该博文参考 https://www.google.com.hk/search?hl=zh-CN&q=pwwkew 补:使用c++时,无法使用string中的substring函数 对于contain函数 String.contain()函数主要用于匹配字符串,例如:String x=“jasfdja 阅读全文
posted @ 2019-02-27 14:38 CarrollTM 阅读(1017) 评论(0) 推荐(0)