1. Home
  2. Computer Science MCQs
  3. Algorithms and Data Structures
  4. Which data structure uses LIFO?

Added 12 Sep 2025

Which data structure uses LIFO?

  1. Queue
  2. Stack Correct answer
  3. Linked List
  4. Tree

Correct answer

B. Stack

16 views

MCQSEXAM

Explanation

A Stack follows Last-In-First-Out (LIFO), where the last element added is the first removed.

Reference

Asked in: Data Structures & Algorithms

https://www.geeksforgeeks.org/stack-data-structure/

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Algorithms and Data Structures MCQs

Practise all Algorithms and Data Structures MCQs

Similar MCQs