What Are The Use Of Front And Rear Pointers In Circularqueue #784
What are the use of front and rear pointers in CircularQueue implementation?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Util Collections Framework - Java Queue - Quiz No.1.
What are the use of front and rear pointers in CircularQueue implementation?
Front pointer points to first element; rear pointer points to the last element
Rear pointer points to first element; front pointer points to the last element
Front and read pointers point to the first element
Front pointer points to the first element; rear pointer points to null object