8000 Update Singly Linked List.md · Gekk0r/Algorithms-Explanation@b962c96 · GitHub
[go: up one dir, main page]

Skip to content

Commit b962c96

Browse files
authored
Update Singly Linked List.md
1 parent b89e734 commit b962c96

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Data Structures/Linked Lists/Singly Linked List.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A linear & connected data structure
88

99
- Size of a linked list is not fixed
1010
- Deleting and adding an element in the middle is not expensive compared to an array
11-
- Elements can be accessed sequentially not dynamically
11+
- Elements can be accessed sequentially not dynamically compared to an array
1212
- Extra memory allocation needs to be done for pointers which connects elements in a linked list
1313

1414

@@ -27,7 +27,8 @@ class LinkedList
2727
}
2828
}
2929
30-
Here every node has a value and a pointer to the next node. The head node signifies the first element in the list
30+
Here every node has a value and a pointer to the next node. The head node signifies the first element in
31+
the list
3132
```
3233

3334
#### Code Implementation Links

0 commit comments

Comments
 (0)
0