ข้ามไปยังเนื้อหา
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