Inserting a Node at the Front
10
15
7
null
head_ptr
entry
13
insert_ptr
13
insert_ptr = new Node;
insert_ptr->data = entry;
Connect the new node to the front of the list.
Previous slide
Next slide
Back to first slide
View graphic version