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)?
https://gateoverflow.in/39667/gate2016-1-10
i think A is the answer
A is the answer.
Refer following Links:
https://www.sqa.org.uk/e-learning/ArrayDS02CD/page_14.htm
GATE CSE 2016 Set 1 | Question: 10 - GATE Overflow
64.3k questions
77.9k answers
244k comments
80.0k users