You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: linked-list/readme.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -398,8 +398,8 @@ Complexity of the process are below
398
398
399
399
## When to use linked list ##
400
400
---
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.
403
403
3. For large data, moving pointers is easier and faster than moving items themselves.
404
404
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).
405
405
5. We need to split or combine different list together, because splitting and joining lists is very efficient.
0 commit comments