A circular queue has a size of 5 and has 3 elements 10, 20 and 40 where Front=2and Rear=4.a. Differentiate between Circular Queue and Priority Queue.b. Determine the value of Front and Rear after inserting 50 and 60 in the givenCircular queue.c. Discuss the consequence if we try to insert 30 at this stage.d. Identify the position of Front and Rear after performing two consecutivedeque.e. Assess the sequence of steps with necessary diagrams with the value ofFront and Rear.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here