What is the relationship between a queue and its underlying array?



What is the relationship between a queue and its underlying array?..

Answer / Bhoopendra Kumar Bhaskar

The relationship between a queue and its underlying array is that the queue uses an array to store the elements, with the front of the queue pointing to the first element and the rear of the queue pointing to the last empty or filled index.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Explain quick sort?

1 Answers  


Can we use any class as map key?

1 Answers  


What are the types of data structures?

1 Answers  


What is a simple path?

1 Answers  


Define parent node?

1 Answers  


Does hashmap preserve insertion order?

1 Answers  


How do you assign an address to an element of a pointer array ?

1 Answers  


Is array a data type?

1 Answers  


Is complete binary tree?

1 Answers  


What are linked lists good for?

1 Answers  


What are AVL trees?

1 Answers   HAL,


What is array in data structure with example?

1 Answers  


Categories