@@ -89,29 +89,19 @@ Below is the list of some of the most used Big O notations and their performance
89
89
| ** O(2^N)** | 1024 | 1.26e+29 | 1.07e+301 |
90
90
| ** O(N!)** | 3628800 | 9.3e+157 | 4.02e+2567 |
91
91
92
- ### Common Data Structure Operations Complexity
93
-
94
- <table >
95
- <tr >
96
- <td>One</td>
97
- <td>Two</td>
98
- </tr >
99
- <tr >
100
- <td colspan="2">Three</td>
101
- </tr >
102
- </table >
103
-
104
- | Data Structure | Access | Search | Insertion | Deletion |
92
+ ### Data Structure Operations Complexity
93
+
94
+ | Data Structure | Access | Search | Insertion | Deletion |
105
95
| ----------------------- | :-------: | :-------: | :-------: | :-------: |
106
- | ** Array** | 1 | n | n | n |
107
- | ** Stack** | n | n | 1 | 1 |
108
- | ** Queue** | n | n | 1 | 1 |
109
- | ** Linked List** | n | n | 1 | 1 |
110
- | ** Hash Table** | | n | n | n |
111
- | ** Binary Search Tree** | n | n | n | n |
112
- | ** B-Tree** | log(n) | log(n) | log(n) | log(n) |
113
- | ** Red-Black Tree** | log(n) | log(n) | log(n) | log(n) |
114
- | ** AVL Tree** | log(n) | log(n) | log(n) | log(n) |
96
+ | ** Array** | 1 | n | n | n |
97
+ | ** Stack** | n | n | 1 | 1 |
98
+ | ** Queue** | n | n | 1 | 1 |
99
+ | ** Linked List** | n | n | 1 | 1 |
100
+ | ** Hash Table** | - | n | n | n |
101
+ | ** Binary Search Tree** | n | n | n | n |
102
+ | ** B-Tree** | log(n) | log(n) | log(n) | log(n) |
103
+ | ** Red-Black Tree** | log(n) | log(n) | log(n) | log(n) |
104
+ | ** AVL Tree** | log(n) | log(n) | log(n) | log(n) |
115
105
116
106
### Array Sorting Algorithms Complexity
117
107
0 commit comments