A queue is implemented such that ENQUEUE and DEQUEUE operations are performed efficiently. Which one of the following statements is CORRECT if the array is circular (n refers to the number of items in the queue)?
Answers
Answered by
2
Answer:
A queue is implemented using an array such that ENQUEUE and DEQUEUE operations are performed efficiently. Which one of the following statements is CORRECT (n refers to the number of items in the queue)? Explanation: We can use circular array to implement both in O(1) time.
Explanation:
please please please mark as brainlist....
Similar questions