______ is First in Last Out kind of data structure.

2019

______ is First in Last Out kind of data structure.

Answer: A. StackA 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…

  1. A.

    Stack

  2. B.

    Queue

  3. C.

    Array

  4. D.

    Deque

Attempted by 1645 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: Niacl Ao It Specialist

Loading lesson…