5. Suppose a circular queue of capacity (n-1) elements is implemented with an array of n elements. Assume that the insertion and deletion operation are carried out using REAR and FRONT as array index variables, respectively. Initially, REAR = FRONT = 0, (7%) a. [396] How is an empty circular queue detected? b. [496] How is a full circular queue detected? Show transcribed image text 5. Suppose a circular queue of capacity (n-1) elements is implemented
OR
OR