News for hackers. Stuff that matters.
Re:Itsy Bitsy Data Structures – Simplified examples of many ... by pkd on Saturday August 27, 2016 @05:35AM (#12371698)
I wouldn't call this a trick. This is a staple in the data structures books when they teach how to implement queues using arrays. The same approach can be extended to implementing circular and double ended queues as well.

There are no comments on this comment yet.