JMCanning78 / DemoRepo

0 stars 0 forks source link

Show circular array as circle in Queue.py #25

Open JMCanning78 opened 4 years ago

JMCanning78 commented 4 years ago

Show queue cells as part of a circular ring, so it is more clear how the "front" and "rear" pointers wrap around as the pass the end of the allocated array length. If possible, show both the linear array representation and the circular one on the canvas simultaneously.

If letting queue items be short strings makes it too hard to draw without overlaps, limit items to be just 2-digit numbers.

JMCanning78 commented 4 years ago

This issue depends on issue: #23.