Home / CSE MCQs / Data Structure MCQs :: Discussion

Discussion :: Data Structure MCQs

  1. What is the need for a circular queue?
  2. A.
    effective usage of memory
    B.
    easier computations
    C.
    all of the mentioned
    D.
    none of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    In a linear queue, dequeue operation causes the starting elements of the array to be empty, and there is no way you can use that space, while in a circular queue, you can effectively use that space.


Be The First To Comment