Circular Linked List Data Structure and operations
Kauress

Kauress @kauresss

About: Meta learning, fullstack JavaScript, Coding instructor, game dev, dogs & VR (Don't you love the ui for dev.to?)

Location:
Planet Earth
Joined:
Nov 22, 2017

Circular Linked List Data Structure and operations

Publish Date: Jan 28 '20
12 0

Circular Linked List

A Circular Linked Data Structure will have nodes that have:

  1. Data
  2. Address which points to the next node
  3. The last node in turn points to the starting node, therefore forming a chain

Circular Linked List in C++

struct Node 
{ 
    int data; 
    struct Node *next; 
};
Enter fullscreen mode Exit fullscreen mode

Comments 0 total

    Add comment