wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following are true with respect to linked list?
I. Each link of node contains a pointer to the next node.
II. Searching an element in singly linked list is sequential.
III. Linked list are best suited for radix sort and binary search where searching on element is dynamic
IV. Each node contains a data part and pointer to the next node where an array of pointer ponts to the links.

A
III & IV
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
I & IV
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
I & II
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
II & III
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C I & II
Binary search will not work linked list since we can not access middle element in linked list directly. A linked list consists nodes which contain two parts. The first part store data and the second part has a pointer that points to the next node.

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