Перейти к содержанию
English

Two ways to hold items

  • A stack and a queue both hold a line of items, but they differ in which item comes out next.
  • A stack is LIFO: Last In, First Out — like a pile of plates.
  • A queue is FIFO: First In, First Out — like a line of people.

Раздаточный материал

Войти или создать аккаунт

IGCSE, A-Level & AP