摘要: public class test3 { public static void main(String[] args) { int[] arr = { 49, 38, 65, 97, 23, 22, 76, 1, 5, 8, 2, 0, -1, 22 }; quickSort(arr, 0, arr 阅读全文
posted @ 2019-12-13 18:28 M_x_j 阅读(147) 评论(0) 推荐(0) 编辑
摘要: next[k]=j:在[0-k-1]子串中,首尾相同的长度为j public int strStr(String S, String T) { if (T == null || T.length() == 0) return 0; int[] next = new int[T.length()]; 阅读全文
posted @ 2019-12-13 16:56 M_x_j 阅读(134) 评论(0) 推荐(0) 编辑