Skip to content

Commit 79e15ac

Browse files
committed
corrections in the blog
1 parent 2fac231 commit 79e15ac

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
@@ -398,8 +398,8 @@ Complexity of the process are below
398398

399399
## When to use linked list ##
400400
---
401-
1. When we need to do lot of inster and delete oprations in the list, go for linked list since insertions and deletions are simpler than for array.
402-
2. When node earching is not that important.
401+
1. When we need to do lot of insert and delete operations in the list, go for linked list since insertions and deletions are simpler than for array.
402+
2. When node searching is not that important.
403403
3. For large data, moving pointers is easier and faster than moving items themselves.
404404
4. Overflow on list will never occur because it doesn’t require a contiguous block of memory, unless the memory is actually full (not so relevant in JavaSript).
405405
5. We need to split or combine different list together, because splitting and joining lists is very efficient.

0 commit comments

Comments
 (0)