Skip to content

Commit 0a0c6bb

Browse files
authored
Update README.md
1 parent 149444b commit 0a0c6bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ Below is the list of some of the most used Big O notations and their performance
248248

249249
| Data Structure | Access | Search | Insertion | Deletion | Comments |
250250
| ----------------------- | :-------: | :-------: | :-------: | :-------: | :-------- |
251-
| **Array** | 1 | n | n | n | |
251+
| **Sorted Array** | 1 | logn | n | n | |
252+
| **Unsorted Array** | 1 | n | 1 | 1 | For deletion, move the last element to the space that was just deleted |
252253
| **Stack** | n | n | 1 | 1 | |
253254
| **Queue** | n | n | 1 | 1 | |
254255
| **Linked List** | n | n | 1 | 1 | |

0 commit comments

Comments
 (0)