Showing posts with label data structure singly Linked List. Show all posts
Showing posts with label data structure singly Linked List. Show all posts

Sunday, April 12, 2009

Singly Linked List-Insertion & Deletion

Data structure - Singly Linked List

A simple linked list is only comprised of a pointer to the first list element. List elements themselves store a value (usually an object) and a reference to the next list element.

we discuss the basic 2 operations 

1]insertion of element to the linked list-

possible mistakes while inserting the elements

2]deletion of inner element from the list

 when deleting an inner list element