Multiple choice technology architecture

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

  1. Strings

  2. Lists

  3. Stacks

  4. None of above

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

Strings, lists, and stacks are all linear data structures where elements are arranged sequentially. Option D 'None of above' is correct because the question asks for a NON-linear data structure, but all options A, B, and C are linear types. Examples of non-linear structures would be trees, graphs, or heaps.