Chapter 6
Chapter 6
Objective
struct LinkedList
{
int info;
struct LinkedList *link;
};
Linked lists contain nodes which have a data field as well as a link field,
which points to the next node in the linked list.
Operations on Linked List
Search an item
Insert an Item
Insert item at Beginning
Insert item at end
Insert item after search position
Delete an Item
Delete item from Beginning
Delete item from end
Delete item after search position
Linked List Example