______ is First in Last Out kind of data structure.
2020
______ is First in Last Out kind of data structure.
Answer: A. Stack — 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…
- A.
Stack
- B.
Queue
- C.
Array
- D.
Deque
Attempted by 1446 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.
Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…