摘要: package Exercises; import java.util.Arrays; import java.util.Scanner; /** * 大数字之和, 字符串-字符数组实现 * 2020 07 12 */ public class TheSumOfLargeNumbers { publ 阅读全文
posted @ 2021-08-27 16:16 _lemonV 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 1.BST (Binary Search Tree) package BinarySearchTree; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedList; import java.u 阅读全文
posted @ 2021-08-27 15:08 _lemonV 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 1.动图演示 1.1自顶向下的归并排序 2.代码实现 2.1自顶向下的归并排序 package sort; import java.util.Arrays; // 测试工具类在这里 https://www.cnblogs.com/paidaxing7090/p/15080493.html impor 阅读全文
posted @ 2021-08-27 14:43 _lemonV 阅读(44) 评论(0) 推荐(0) 编辑
摘要: public class Solution { public ListNode ReverseList(ListNode head) { ListNode pre = null; //保存前驱节点 ListNode cur = head; // cur 一开始指向头节点 ListNode nex = 阅读全文
posted @ 2021-08-27 10:35 _lemonV 阅读(97) 评论(0) 推荐(0) 编辑