mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-11-14 06:52:59 +08:00
Cleanup.
This commit is contained in:
parent
5bbe414fee
commit
86a4069e26
@ -1,9 +0,0 @@
|
|||||||
# Hashed Table
|
|
||||||
|
|
||||||
|Operation |Complexity |
|
|
||||||
|---------------------------|-------------------|
|
|
||||||
|Find |O(1)* |
|
|
||||||
|Insert |O(1)* |
|
|
||||||
|Delete |O(1)* |
|
|
||||||
|
|
||||||
* assuming that we have "good" hash function and big enough hash table size so that collisions are rare.
|
|
@ -1 +0,0 @@
|
|||||||
# Heap
|
|
@ -1,8 +0,0 @@
|
|||||||
# Linked List
|
|
||||||
|
|
||||||
|Operation |Complexity |
|
|
||||||
|---------------------------|-------------------|
|
|
||||||
|Find |O(n) |
|
|
||||||
|Insert/delete at beginning |O(1) |
|
|
||||||
|Insert/delete in middle |O(1) + search time |
|
|
||||||
|Insert/delete at end |O(1) + search time |
|
|
@ -1,2 +0,0 @@
|
|||||||
# Queue
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
# Queue
|
|
Loading…
Reference in New Issue
Block a user