Vidyalelo
Data Structure · Q97

Introduction to Data Structures

Programming · Data Structure · question 97

Q97

Which of the following is true about linked list implementation of queue?

A.
In push operation, if new nodes are inserted at the beginning of linked list, then in pop operation, nodes must be removed from end
Answer
B.
In push operation, if new nodes are inserted at the beginning, then in pop operation, nodes must be removed from the beginning
C.
In push operation, if new nodes are inserted at the end, then in pop operation, nodes must be removed from end
D.
In push operation, if new nodes are inserted at the end, then in pop operation, nodes must be removed from beginning

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board