Queue using circular array in Java

In the previous post I discussed about queue implementation using array. It has certain drawbacks such as when an element is dequeued from the front, all the elements have to be shifted to the left. This can give poor performance when the number of elements stored in the array becomes large. To solve this issueContinue reading “Queue using circular array in Java”

Design a site like this with WordPress.com
Get started