Question: In a queue, why do we need to store the count separately and not just use the distance between head and tail
In a queue, why do we need to store the count separately and not just use the distance between head and tail
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
