Skip to main content
Code Review

Timeline for Fixed-size array-based implementation of a queue

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Apr 13, 2017 at 12:40 history edited Community Bot
replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/
Jan 25, 2017 at 19:08 vote accept Maxbit
Jan 25, 2017 at 12:58 comment added janos Thanks @TedHopp, very well said, I added that to my answer.
Jan 25, 2017 at 12:58 history edited janos CC BY-SA 3.0
added 346 characters in body
Jan 25, 2017 at 0:31 comment added Ted Hopp Nice analysis. I'd just like to add that by thinking of the array as circular (and using two indexes as suggested) it's never necessary to move elements. All it takes is some close attention to indexing to distinguish between an empty and a full queue.
Jan 24, 2017 at 22:09 history answered janos CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /