Lompat ke konten
English

A queue is FIFO

  • A queue is First In, First Out (FIFO).
  • The first item you add is the first one to leave.
  • Think of a line of people: the person at the front is served first.

A queue: enqueue adds at the rear and dequeue removes from the front

Lembar Kerja

Masuk atau buat akun

IGCSE, A-Level & AP