Basics-Wrapup

View on GitHub

link List

A linked list is a sequence of data structures, which are connected together via links.

Linked List Representation

Linked list can be visualized as a chain of nodes, where every node points to the next node.

Types of Linked List

Basic Operations

Following are the basic operations supported by a list.

Applications of linked list in real world-

  1. Image viewer – Previous and next images are linked, hence can be accessed by next and previous button.
  2. Previous and next page in web browser – We can access previous and next url searched in web browser by pressing back and next button since, they are linked as linked list.
  3. Music Player – Songs in music player are linked to previous and next song. you can play songs either from starting or ending of the list.

Applications of Circular Linked Lists