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

Added 20 Jan 2024

Which data structure uses LIFO principle?

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

Correct answer

B. Stack

21 views

MCQSEXAM

Explanation

Stack follows Last-In-First-Out (LIFO) principle.

Reference

Asked in: GATE, UGC NET

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

Preparing for an exam?

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