題組內容

9. (15%) Assume using a circular queue of size n. The rear always indicates an empty slot. Write pseudocode for the following questions.

(c) (5%) If we want to usc all n slots, what do we need to do?