Skip to content
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.
中文

队列是 FIFO

  • 队列(queue)是先进先出(FIFO,First In, First Out)。
  • 你最先放进去的元素,会最先离开。
  • 想象排队的人:站在最前面的人最先被服务。

Handout

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩