Home / Engineering / Problem Solving and Python Programming / Question

Q.) A data structure that follows the FIFO principle.

(A) queue
(B) ll
(C) stack
(D) union
Correct answer - Option (A) -
queue

Explanation:
 the answer is queue. a queue follows the fifo principle. fifo stands for first in first out.

Share

Discusssion

Login to discuss.