What are the drawbacks of array implementation of queue?
Answer / Mr Avesh Kumar Gautam
The main disadvantage of array implementation of a queue is that it wastes space, especially when the queue is not full. It uses twice the memory if implemented using a single array.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is array in data structure with example?
Model a data structure for a DFA that takes an event as parameter and performs a desired action.
Define double hashing?
Why is sorting and classifying important?
What are the 3 types of variables?
Does mentioning the array name gives the base address in all the contexts?
Explain quick sort and merge sort algorithms.
Why linked lists are better than arrays?
Which is the parent class of deque<e> class?
How do you determine if a binary tree is height balanced?
Write a Program for Insert in a sorted list
How do you access the values within an array?