现代双向链表浏览器
一个直观的、交互式的双向链表演示,突出其双向连接和效率优势
创建 & 插入
头部添加 (O(1))
尾部追加 (O(1))
在索引处插入 (分步)
查找 & 删除
查找节点
删除节点 (分步)
重置链表
HEAD
{{ head ? head.value : 'null' }}
Size:
{{ size }}
{{ tail ? tail.value : 'null' }}
TAIL
链表为空。请添加一个新节点。
PREV
{{ node.prev ? node.prev.value : 'null' }}
VAL
{{ node.value }}
{{ node.next ? node.next.value : 'null' }}
NEXT