SlideShare a Scribd company logo
INTRODUCING
TO
CIRCULAR SINGLY LINKED LIST
MEANING OF CIRCULAR LINKED LIST
• In a circular Singly linked list, the last node of the list
contains a pointer to the first node of the list. We can
have circular singly linked list as well as circular doubly
linked list.
• We traverse a circular singly linked list until we reach the
same node where we started. The circular singly liked list
has no beginning and no ending. There is no null value
present in the next part of any of the nodes.
WORKING OF CIRCUILAR SINGLY LINKED LIST
A circular linked list is a variation of linked lists where the
pointer of the last node instead of pointing to NULL points
to the first or the head node. This connects the first node
with the last node resulting in a circle of interconnected
nodes. There is no NULL at the end.
MEMORY REPRESENTATION OF
CIRCULAR SINGLY LINKED LIST
• In the following image, memory representation of a circular linked list
containing marks of a student in 4 subjects. However, the image shows a
glimpse of how the circular list is being stored in the memory. The start or
head of the list is pointing to the element with the index 1 and containing 13
marks in the data part and 4 in the next part. Which means that it is linked
with the node that is being stored at 4th index of the list.
However, due to the fact that we are considering circular linked list in the
memory therefore the last node of the list contains the address of the first node
of the list.
Each node has only one pointer i.e. next pointer. The next pointer of the last
node of the list points to the first node of the list creating a circular
structure. We can transverse only in one direction in a circular manner in this.
WORKING OF MEMORY REPRESENTATION
OF CIRCULAR SINGLY LINKED LIST
OPERATIONS ON CIRCULAR SINGLY LINKED LIST
• There are 4 types
• Insertion
• Deletion
• Searching
• Traversing
OPERATIONS ON CIRCULAR SINGLY LINKED LIST
• Insertion
• Insertion at beginning: Adding a node into circular singly linked list at the beginning.
• Insertion at the end: Adding a node into circular singly linked list at the end.
• Deletion & Traversing
• Deletion at beginning: Removing the node from circular singly linked list at the beginning.
• Deletion at the end Removing the node from circular singly linked list at the end.
• Searching: Compare each element of the node with the given item and return the
location at which the item is present in the list otherwise return null.
• Traversing: Visiting each element of the list at least once in order to perform some specific
operation.
END OF CIRCULAR SINGLY LINKED LIST
Done by
Group
Harika
Shri Hari
Hemanth
Janushree
Koushik

More Related Content

PPTX
Link_List.pptx
PPTX
data structures and applications power p
PPT
Circular linked list
PPTX
Linked List.pptx
PPTX
mbit_Unit-2_Linked List.pptx
PPTX
link list.pptx complete notes detailed ans
PPTX
Circular Linked List in Data Structures Design
PPTX
DATA STRUCTURES AND LINKED LISTS IN C.pptx
Link_List.pptx
data structures and applications power p
Circular linked list
Linked List.pptx
mbit_Unit-2_Linked List.pptx
link list.pptx complete notes detailed ans
Circular Linked List in Data Structures Design
DATA STRUCTURES AND LINKED LISTS IN C.pptx

Similar to introductiong to circular singly linked list (3).pptx (19)

PPTX
DATA STRUCTURES AND LINKED LISTS IN C.pptx
ODP
Linked List
DOCX
Introduction to linked lists
PPT
ANOITO2341988888888888888888888885555.ppt
PPTX
Data Structures Introduction & Linear DS
PPT
linked list2.ppt linked list part 2 ppt
PPTX
Linked list in Data Structure and Algorithm
PPT
Linked lists
PPTX
linked list using c
PPTX
LinkedList Presentation.pptx
PPTX
Datastucture-Unit 4-Linked List Presentation.pptx
PDF
Linked List-Types.pdf
PPTX
Linear Data Structures - List, Stack and Queue
PPTX
Data Structures and Algorithms - Lec 05.pptx
PPTX
Linked list (1).pptx
PPT
Data Structures- Part7 linked lists
PPTX
Linked List
PPT
2- link-list.ppt
PPT
CH02- Data Structures and Algorithms.ppt
DATA STRUCTURES AND LINKED LISTS IN C.pptx
Linked List
Introduction to linked lists
ANOITO2341988888888888888888888885555.ppt
Data Structures Introduction & Linear DS
linked list2.ppt linked list part 2 ppt
Linked list in Data Structure and Algorithm
Linked lists
linked list using c
LinkedList Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptx
Linked List-Types.pdf
Linear Data Structures - List, Stack and Queue
Data Structures and Algorithms - Lec 05.pptx
Linked list (1).pptx
Data Structures- Part7 linked lists
Linked List
2- link-list.ppt
CH02- Data Structures and Algorithms.ppt
Ad

Recently uploaded (15)

PPTX
3- units of time.pptxoncancknznxolj kznlXoja
DOC
NSCC毕业证学历认证,阿肯色大学小石城分校毕业证学位证书
PPTX
1Module-Retail Introduction for Retail sales training
PDF
kartik maas braj 84 kos yatra 2025 itinerary
PDF
The Role of Human Hair Wigs in the Entertainment Industry.pdf
PDF
SAP Brochure (3).pdfdddddddddddddddddddd
PPTX
operations management second semester annar
PPTX
incident reporting and investigation part1
PPTX
Sales Techniques & Strategies (Selling for trust and sustainability).pptx
PPTX
Sales KPIs (Know how you far from your target).pptx
DOC
UNCP毕业证学历认证,埃奇伍德大学毕业证存档可查的
PDF
LED Commercial & Emergency Solution Supplier
PPTX
"Don Morphy – Luxury Men’s Custom Suits | Perfect Fit, Timeless Style"
PDF
ungquachung-final-report-uehthuc-tap-di.pdf
PPTX
Exact Print’s Custom T Shirts Unleash Dynamic Energy
3- units of time.pptxoncancknznxolj kznlXoja
NSCC毕业证学历认证,阿肯色大学小石城分校毕业证学位证书
1Module-Retail Introduction for Retail sales training
kartik maas braj 84 kos yatra 2025 itinerary
The Role of Human Hair Wigs in the Entertainment Industry.pdf
SAP Brochure (3).pdfdddddddddddddddddddd
operations management second semester annar
incident reporting and investigation part1
Sales Techniques & Strategies (Selling for trust and sustainability).pptx
Sales KPIs (Know how you far from your target).pptx
UNCP毕业证学历认证,埃奇伍德大学毕业证存档可查的
LED Commercial & Emergency Solution Supplier
"Don Morphy – Luxury Men’s Custom Suits | Perfect Fit, Timeless Style"
ungquachung-final-report-uehthuc-tap-di.pdf
Exact Print’s Custom T Shirts Unleash Dynamic Energy
Ad

introductiong to circular singly linked list (3).pptx

  • 2. MEANING OF CIRCULAR LINKED LIST • In a circular Singly linked list, the last node of the list contains a pointer to the first node of the list. We can have circular singly linked list as well as circular doubly linked list. • We traverse a circular singly linked list until we reach the same node where we started. The circular singly liked list has no beginning and no ending. There is no null value present in the next part of any of the nodes.
  • 3. WORKING OF CIRCUILAR SINGLY LINKED LIST A circular linked list is a variation of linked lists where the pointer of the last node instead of pointing to NULL points to the first or the head node. This connects the first node with the last node resulting in a circle of interconnected nodes. There is no NULL at the end.
  • 4. MEMORY REPRESENTATION OF CIRCULAR SINGLY LINKED LIST • In the following image, memory representation of a circular linked list containing marks of a student in 4 subjects. However, the image shows a glimpse of how the circular list is being stored in the memory. The start or head of the list is pointing to the element with the index 1 and containing 13 marks in the data part and 4 in the next part. Which means that it is linked with the node that is being stored at 4th index of the list. However, due to the fact that we are considering circular linked list in the memory therefore the last node of the list contains the address of the first node of the list. Each node has only one pointer i.e. next pointer. The next pointer of the last node of the list points to the first node of the list creating a circular structure. We can transverse only in one direction in a circular manner in this.
  • 5. WORKING OF MEMORY REPRESENTATION OF CIRCULAR SINGLY LINKED LIST
  • 6. OPERATIONS ON CIRCULAR SINGLY LINKED LIST • There are 4 types • Insertion • Deletion • Searching • Traversing
  • 7. OPERATIONS ON CIRCULAR SINGLY LINKED LIST • Insertion • Insertion at beginning: Adding a node into circular singly linked list at the beginning. • Insertion at the end: Adding a node into circular singly linked list at the end. • Deletion & Traversing • Deletion at beginning: Removing the node from circular singly linked list at the beginning. • Deletion at the end Removing the node from circular singly linked list at the end. • Searching: Compare each element of the node with the given item and return the location at which the item is present in the list otherwise return null. • Traversing: Visiting each element of the list at least once in order to perform some specific operation.
  • 8. END OF CIRCULAR SINGLY LINKED LIST Done by Group Harika Shri Hari Hemanth Janushree Koushik