Queue follows?

  • ALIFO
  • BFIFO
  • CRandom
  • DPriority only
Show answerHide answer

Correct answer B

A queue is a data structure where elements are processed in the order they arrive. FIFO stands for First In, First Out, Meaning the first element added is the first one to be removed. Common examples includ e print queues and lineups at stores. It is the opposite to stack, which use s LIFO (Last In, First Out).