______ is First in Last Out kind of data structure.
2020
______ is First in Last Out kind of data structure.
- A.
Stack
- B.
Queue
- C.
Array
- D.
Deque
Attempted by 628 students.
Show answer & explanation
Correct answer: A
A Stack follows the LIFO (Last In First Out) or FILO (First In Last Out) principle. The element inserted first is placed at the bottom, so it can only be removed after all subsequent elements above it are popped out. Thus, Option A is correct.