Which of the following option has linear data structure?

2016

Which of the following option has linear data structure?

Answer: C. StackA linear data structure arranges its elements sequentially or linearly, where each element is connected to its previous and next element. A Stack follows this…

  1. A.

    Turnery Tree

  2. B.

    Binary Tree

  3. C.

    Stack

  4. D.

    Graph

Attempted by 804 students.

Show answer & explanation

Correct answer: C

A linear data structure arranges its elements sequentially or linearly, where each element is connected to its previous and next element. A Stack follows this sequential arrangement. Conversely, trees and graphs are non-linear data structures with hierarchical or interconnected relationships. Therefore, Option C is correct.

Explore the full course: Btsc Lab Assistant

Loading lesson…