We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bd7f9a commit 2a3b013Copy full SHA for 2a3b013
README.md
@@ -206,7 +206,7 @@ Below is the list of some of the most used Big O notations and their performance
206
| **Queue** | n | n | 1 | 1 | |
207
| **Linked List** | n | n | 1 | 1 | |
208
| **Hash Table** | - | n | n | n | In case of perfect hash function costs would be O(1) |
209
-| **Binary Search Tree** | n | n | n | n | |
+| **Binary Search Tree** | n | n | n | n | In case of balanced tree costs would be O(log(n)) |
210
| **B-Tree** | log(n) | log(n) | log(n) | log(n) | |
211
| **Red-Black Tree** | log(n) | log(n) | log(n) | log(n) | |
212
| **AVL Tree** | log(n) | log(n) | log(n) | log(n) | |
0 commit comments