Thursday, November 23, 2023

Which of the following data structure is linear type?


 Answer: Array

A linear data structure is one where data items are arranged in a linear fashion.

There are four primary types of linear data structures: Array, Queue, Stack, and Linked Lists.

A linear data structure only has one level and performs linear searching in the data structure.

A Tree,Graph are non linear datastructures.

A forest is an undirected, disconnected, acyclic graph.

0 comments:

Post a Comment

Data Structures with C++



NET/SET/CS PG



Operating Systems



Computer Networks



JAVA



Design and Analysis of Algorithms



Programming in C++

Top