Top 350+ Solved Data Structure and Algorithms (DSA) MCQ Questions Answer
Q. An array is referenced by its name.Similarly,a linked list is referenced by____
a. address of the first node
b. address of the last node
c. both (a)and(b)
d. none of these
Q. Time required to search an element in a linked list is____
a. 0(n)
b. 0(log n)
c. 0(n2)
d. 0(n log n)
Q. Time required to search an element in a sorted linked list is______
a. 0(n)
b. 0(log n)
c. o(n2)
d. 0(n log n)
Q. Time required to delete a node with given address in a linked list is____
a. 0(n)
b. 0(log n)
c. 0(1)
d. 0(n log n)