11 2019 档案

摘要:/** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } */ class Solution { 阅读全文
posted @ 2019-11-05 09:33 stul 阅读(152) 评论(0) 推荐(0)
摘要:package test; public class ListNode{ int val; ListNode next; public ListNode(int x) { val = x; } public ListNode() {} public static void main(String[] 阅读全文
posted @ 2019-11-04 16:37 stul 阅读(127) 评论(0) 推荐(0)
摘要:KMP 初学 KMP 算法分为两个步骤。 1 是计算出 next 数组, 2 是根据 next 数组来求得 index 。 阅读全文
posted @ 2019-11-04 09:32 stul 阅读(106) 评论(0) 推荐(0)