Single Sided Linked List in Java

by javadream on 05 Nov 10
0
 
343 downloads
0

Singly linked list (also known as, linked list) is a data structure that serves the purpose of a dynamic array. Every item in that list contains two parts- data, and pointer to next item. The first item is pointed by a pointer known as "head". And, the last item has "null" to its next, which means the end of list.

There can various of methods in a linked list, such as- goFirst(), insert(), remove(), etc. Here is an implementation of linked list in Java with basic functionality. It can hold integer type data.

Bookmark and Share

Relevant links

Related algorithms

You must login or register to post comments