Files
Hui-s-notebook/logseq-java/pages/LinkedList.md
2024-02-02 00:12:49 +08:00

10 lines
324 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
- 底层为[[链表]]结构
- 每一个元素由三部分[[Node]]构成
- prev
- Element
- next
- [[API]]方法与ArrayList一致
- 与[[ArrayList]]的区别
- 底层结构不一样
- ArrayList比较适合用于查询新增删除节点效率较低
- LinkedList比较适用于新增删除查询效率较低