Skip to content

Commit 627582d

Browse files
committed
grammical corrections
1 parent 79e15ac commit 627582d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linked-list/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,8 @@ console.log(d.listSize()); // 4
392392
Complexity of the process are below
393393
* **insertNodeAtFirst** - O(1).
394394
* **insertNodeAtLast** - O(1) since we have two way pointer connections.
395-
* **deleteNode** - O(n) - ```n``` is the length of iteration till value match found.
396-
* **searchNode** - O(n) - ```n``` is the length of iteration till value match found.
395+
* **deleteNode** - O(n) - ```n``` is the length of iteration till match value is found.
396+
* **searchNode** - O(n) - ```n``` is the length of iteration till match value is found
397397
* **print** - O(n) - ```n``` is the size of the list .
398398

399399
## When to use linked list ##

0 commit comments

Comments
 (0)