Multiple choice

Which of the follwoing data structures is LIFO?

  1. Stack

  2. Queue

  3. Tree

  4. Linked List

  5. De-queue

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A stack is a LIFO data-structure. LIFO stands for Last In First Out. The element which enters last, is the first to get out of the stack.