Inserting a Node at the Front
insert_ptr = new Node;
Place the data in the new node's data field.
10
15
7
null
head_ptr
entry
13
insert_ptr
13
Previous slide
Next slide
Back to first slide
View graphic version