Pseudocode for Inserting Nodes
Determine whether the new node will be the first node in the linked list. If so, then there is only one step:
The function
we already wrote
head_insert(head_ptr, entry);
Previous slide
Next slide
Back to first slide
View graphic version