Graphs
October 7, 2023
2018 July 22 NTA UGC NET Paper 1
October 7, 2023
Graphs
October 7, 2023
2018 July 22 NTA UGC NET Paper 1
October 7, 2023

Data-Structures

Question 17

The concatenation of two lists is to be performed in O(1) time. Which of the following implementations of a list should be used?

A
Singly linked list
B
Doubly linked list
C
Circular doubly linked list
D
Array implementation of list
Question 17 Explanation: 
In circular doubly linked list concatenation of two lists is to be performed on O(1) time.
Correct Answer: C
Question 17 Explanation: 
In circular doubly linked list concatenation of two lists is to be performed on O(1) time.
5 1 vote
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!