Linked Lists
Learn about Linked Lists, one of the most common data structures that can be used to implement many other abstract data types..
StartKey Concepts
Review core concepts you need to learn to master this subject
Removing a node from the middle of a linked list
Linked List data structure
Adding a new head node in a linked list
The Head Node in Linked Lists
Implementing a linked list
Linked List Data Structure
Removing a node from the middle of a linked list
Removing a node from the middle of a linked list
When removing a node from the middle of a linked list, it is necessary to adjust the link on the previous node so that it points to the following node. In the given illustration, the node a1
must point to the node a3
if the node a2
is removed from the linked list.
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory