Computer Science

A linear list of elements in which deletion can be done from one end (front) and insertion can take place only at the other end (rear) is known as a:

  1. Queue
  2. Stack
  3. Tree
  4. Linked list

Python Queue

3 Likes

Answer

Queue

Reason — A queue is represented as a linear list where insertion (enqueue) can be performed at one end (rear) and deletion (dequeue) can be performed at the other end (front). This characteristic of queues follows the First-In-First-Out (FIFO) principle.

Answered By

2 Likes


Related Questions