Friday, August 12, 2011

Create Linked List using Java

Posted by on Friday, August 12, 2011
The LinkedList class extends AbstractSequentialList and implements the List interface. It provides a linked-list data structure. It has the two constructors, shown here: RFAZHE7YNFV8
LinkedList( )
LinkedList(Collection c)
The first constructor builds an empty linked list. The second constructor builds a linked list that is initialized with the elements of the collection c.

Create Linked List using C

Posted by on Friday, August 12, 2011

Introduction

Linked list is one of the fundamental data structures, and can be used to implement other data structures. In alinked list there are different numbers of nodes. Each node is consists of two fields. The first field holds the value or data and the second field holds the reference to the next node or null if the linked list is empty.
image001.gif
Figure: Linked list

© 2010 Code 2 Learn