Ask Question

Why is a circular array implementation not as attractive as an implementation of a list as it was for a queue?

+2
Answers (1)
  1. 21 August, 13:56
    0
    The circular array implementation of queue is more attractive than that of the queue because in queue the circular array implementation improved the efficiency of the deque operation before it was O (n) after circular array implementation it is O (1) because there is no need to shift the array.

    While in a list we can add or delete elements from anywhere in the list.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Why is a circular array implementation not as attractive as an implementation of a list as it was for a queue? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers