What are the drawbacks of array implementation of queue?



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

Post New Answer

More Data Structures Interview Questions

What is array in data structure with example?

1 Answers  


Model a data structure for a DFA that takes an event as parameter and performs a desired action.

1 Answers   Adobe,


Define double hashing?

1 Answers  


Why is sorting and classifying important?

1 Answers  


What are the 3 types of variables?

1 Answers  


Does mentioning the array name gives the base address in all the contexts?

1 Answers  


Explain quick sort and merge sort algorithms.

1 Answers  


Why linked lists are better than arrays?

1 Answers  


Which is the parent class of deque<e> class?

1 Answers  


How do you determine if a binary tree is height balanced?

1 Answers  


Write a Program for Insert in a sorted list

1 Answers  


How do you access the values within an array?

1 Answers  


Categories