Showing posts with label Data Structure. Show all posts
Showing posts with label Data Structure. Show all posts
LinkedList

LinkedList

->Linked List is a linear collection of  objects (called nodes) connected by the reference links.

->Program accesses a linked list via a reference to the first node in list.

->Program accesses a subsequent nodes via the reference link stored in the previous node.

->Reference in the last node of a list is set to null.

Source : from my lecturer slide, sir Jiwa Noris