Multiple choice

Which of the following is/are non-linear data structures?

  1. Arrays

  2. Queues

  3. Binary search trees

  4. Stacks

  5. Both (3) and (4)

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In binary search tree, the elements are not in a linear list , they have hierarchical structure so it is a non-linear data structure.