Docsity

Circular Linked List, Lecture notes of Data Structures and Algorithms

Partial preview of the text

Download Circular Linked List and more Lecture notes Data Structures and Algorithms in PDF only on Docsity!

CIRCULAR LINKED

LIST

INTRODUCTION

 (^). A circular linked list is basically a linear linked list that may be singly or doubly. The only difference is that there is no any NULL value terminating the list.  (^) Since it forms a circle with no end to stop hence it is called as circular linked list.  (^) Since it forms a circle with no end to stop hence it is called as circular linked list.  (^) In order to traverse the circular linked list only once we need to traverse entire list until the starting node is not traversed again.

ADVANTAGE OF CIRCULAR LIST

 (^) Entire list can be traversed from any node.  (^) Circular lists are the required data structure when we want a list to be accessed in a circle or loop.  (^) Despite of being singly circular linked list we can easily traverse to its previous node, which is not possible in singly linked list.

DISADVANTAGE OF CIRCULAR LIST

 (^) Circular list are complex as compared to singly linked lists.  (^) Reversing of circular list is a complex as compared to singly or doubly lists.  (^) If not traversed carefully, then we could end up in an infinite loop.  (^) Like singly and doubly lists circular linked lists also doesn’t supports direct accessing of elements.

NAME OF TEAM MEMBERS

  •  UWASE HONORINE #
  •  BHIMANI KAUSHAR FATENA #
  •  BIMENYIMANA COME#
  •  Nshutiyamanzi lisa #
  •  Ishimwe pacifique #
  •  Bhimani Kaushar #
  •  Mupenzi clement #
  •  Mutora antoine #