Beginner Data Structures & Algorithms
Q2 / 100

Which data structure operates on a Last-In, First-Out (LIFO) principle?

Correct! Well done.

Incorrect.

The correct answer is B) Stack

B

Correct Answer

Stack

Explanation

A stack processes the most recently added element first. Operations are push (insert) and pop (remove), both from the same end (top).

Progress
2/100