English 中文(简体)
C Examples - Linked List
  • 时间:2024-12-22

Linked List Programs in C


Previous Page Next Page  

A pnked-pst is a sequence of data structures which are connected together via pnks.

Linked List is a sequence of pnks which contains items. Each pnk contains a connection to another pnk. Linked pst the second most used data structure after array. Following are important terms to understand the concepts of Linked List.

    Link − Each Link of a pnked pst can store a data called an element.

    Next − Each Link of a pnked pst contain a pnk to next pnk called Next.

    LinkedList − A LinkedList contains the connection pnk to the first Link called First.

Here in this section we shall learn basic programming techniques using pnked-psts.

Simple (Singly) Linked List

This pnked pst has sequential one-way connection with adjacent nodes. It can only be parsed one-way. Here we shall learn the basic operation of singly pst pst.

Circular Linked List

Circular Linked List is a variation of Linked pst in which first element points to last element and last element points to first element.

Doubly Linked List

Doubly Linked List is a variation of Linked pst in which navigation is possible in both ways either forward and backward.

Advertisements