2025-01-12 双向链表 -1

This commit is contained in:
liangjinglin 2025-01-12 17:46:00 +08:00
parent ec1aea6fe8
commit 7bc1fdd338

View File

@ -18,6 +18,8 @@ public class DoubleLinkedList {
node.prev = temp;
}
//todo 设计按照顺序插入双向链表的方法
public void modify(DoubleLinkedListNode node){
DoubleLinkedListNode temp = head;
if (head.next == null){