CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

For tree, which of the following list traversing through the entire list is not necessary.

A
Circular list
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
Singly linked list
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Doubly linked list
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Both (2) and (3) above.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A Circular list

For a tree, circular list traversing through the entire list is not necessary. A circular liked list is a linked list where all nodes are connected to form a circle. There is no NULL at the end. A circular linked list can be a single circular linked list or doubly circular linked list.



Singly Linked Lists:- Singly Linked Lists are a type of data structure. In a singly linked list, each node in the list stores the contents and a pointer or reference to the next node in the list. It does not store any pointer or reference to the previous node.

Doubly linked list:- A doubly linked list is a linked data structure that consists of a set of sequentially linked records called nodes. Each node contains two fields, called links that are references to the previous and to the next node in the sequence of nodes.



903302_916560_ans_dcc9e864c9734bbca143441087c77624.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon