Examveda

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

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


This Question Belongs to Data Structure >> Introduction To Data Structures

Join The Discussion

Related Questions on Introduction to Data Structures