One of the following options is a form of access used to add and remove nodes from a queue ?

A. LIFO

B. FIFO

C. Both LIFO and FIFO

D. Recursion

Answer : B. FIFO

Explanation

  • Queues are first in first out.
  • In a FIFO data structure, the first element added to the queue will be the first one to be removed.

Categorized in:

Data Structure

Tagged in:

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Share Article:

Leave a Reply

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
Best Wordpress Adblock Detecting Plugin | CHP Adblock