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 |
Explain quick sort?
Can we use any class as map key?
What are the types of data structures?
What is a simple path?
Define parent node?
Does hashmap preserve insertion order?
How do you assign an address to an element of a pointer array ?
Is array a data type?
Is complete binary tree?
What are linked lists good for?
What are AVL trees?
What is array in data structure with example?