摘要:
https://leetcode-cn.com/problems/implement-strstr/ 能不动脑子为什么要折腾呢? class Solution { public int strStr(String haystack, String needle) { if(needle.length 阅读全文
摘要:
https://leetcode-cn.com/problems/longest-common-prefix/ 请原谅我就是个只会暴力计算的低端程序狗: class Solution { public static List<String> getPrefixtring(String str) { 阅读全文