You are on page 1of 1

DSA Quiz 2.

1.

Which of the following is wrong while inserting a node in the beginning of the singly linked list.

a. Store the beginning node address in the new node address part

b. Make the new node as beginning node of the list

c. Get the last node from the list and make its address part NULL (ANS)

d. None of the above

2.

The efficient data structure to insert /delete an element in a stored set of numbers is?

A, stack

b. Linked list(Ans)

c. Queue

d. array

You might also like