الانتقال إلى المحتوى
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

ورقة عمل

تسجيل الدخول أو إنشاء حساب

IGCSE, A-Level & AP