mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-11-13 06:23:00 +08:00
Add LinkedList.
This commit is contained in:
parent
53ca279c3b
commit
309e7b59b7
@ -1,2 +1,8 @@
|
|||||||
# Linked List
|
# Linked List
|
||||||
|
|
||||||
|
|Operation |Complaxity |
|
||||||
|
|---------------------------|-------------------|
|
||||||
|
|Indexing |O(n) |
|
||||||
|
|Insert/delete at beginning |O(1) |
|
||||||
|
|Insert/delete in middle |O(1) + search time |
|
||||||
|
|Insert/delete at end |O(1) + search time |
|
||||||
|
Loading…
Reference in New Issue
Block a user