Which of the following are the linear data structures?(1 point)

Responses

queue, stack, trees, and arrays
queue, stack, trees, and arrays

arrays, stack, maps, and trees
arrays, stack, maps, and trees

arrays, lists, stack, and queues
arrays, lists, stack, and queues

arrays

1 answer

The correct response is:

arrays, lists, stack, and queues

Linear data structures are those where elements are arranged in a sequential manner, and each element is connected to its previous and next element. Arrays, lists, stacks, and queues are examples of linear data structures. Trees, on the other hand, are considered non-linear data structures.