Sacamuelas.net Play today's quiz

Technology · Computing

Which of these is a LIFO (last in, first out) data structure?

Diagram of a stack of blue blocks: one is pushed onto the top and another popped from the top
Image: User:Boivie, User:Ocaroline · CC0
  1. Stack (Answer)
  2. Queue
  3. Hash map
  4. Set

The correct answer is: Stack

A stack works like a pile of plates: you can only add or remove from the top. Your editor’s Undo button uses one, and the famous “stack overflow” error happens when a program’s call stack runs out of room.

More on Wikipedia · From the quiz of Monday, 23 November 2026

Enjoyed it? Every day there are 10 new questions at your level.

Play today's quiz

More Computing questions

Technology questions →

Also in: Español · Français · Deutsch · Italiano · Valencià