摘要:
// 将两个升序链表合并为一个新的 升序 链表并返回 // 新链表是通过拼接给定的两个链表的所有节点组成的 // 测试链接 : https://leetcode.cn/problems/merge-two-sorted-lists/ public class MergeTwoLists { // 不 阅读全文
posted @ 2025-07-16 21:58
ji415
阅读(5)
评论(0)
推荐(0)
摘要:
// 按值传递、按引用传递 // 从堆栈角度解释链表节点 // 以堆栈视角来看链表反转 public class ListReverse { public static void main(String[] args) { // int、long、byte、short // char、float、d 阅读全文
posted @ 2025-07-16 19:27
ji415
阅读(14)
评论(0)
推荐(0)

浙公网安备 33010602011771号