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

Which of the following is false about a circular linked list?

A
We can traverse the whole circular linked list by starting from any point
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Time complexity of inserting a new node at the head of the list is O(1)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
Time complexity for deleting the last node is O(n)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Every node has a successor
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B Time complexity of inserting a new node at the head of the list is O(1)
Time complexity of inserting a new node at the head of the list is O(n) because you have to traverse through the list to find the tail node.

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