摘要: //节点对象 class Node{ constructor(data){ this.data=data;//存储节点数据 this.next=null;//存储下一个节点的引用,默认为null } } //链表对象 class LinkedList{ constructor(){ this.hea 阅读全文
posted @ 2023-06-29 10:36 漫漫长路</> 阅读(62) 评论(0) 推荐(0)