Which of the following is a non-linear data structure?

2017

Which of the following is a non-linear data structure?

  1. A.

    Tree

  2. B.

    String

  3. C.

    Queue

  4. D.

    Stack

Attempted by 2137 students.

Show answer & explanation

Correct answer: A

Correct Answer: Tree Explanation: A tree is a non-linear data structure because its elements are arranged hierarchically rather than sequentially.

Explore the full course: Up Lt Grade Assistant Teacher 2025