Queues questions

Q35

GATE CS 2012 CSLinear Data StructuresMCQ2 marks−2/3 if wrong
Suppose a circular queue of capacity (n−1)(n - 1) elements is implemented with an array of nn elements. Assume that the insertion and deletion operations are carried out using REAR and FRONT as array index variables, respectively. Initially, REAR = FRONT = 0. The conditions to detect queue full and queue empty are
Show answer without attempting

Answer: A

0/10 correct0 marks

Related topics in Linear Data Structures