Circular Adventures VI: When the Winner is Known Beforehand
“Girls have an unfair advantage over men: if they can’t get what they want by being smart, they can get it by being dumb.” — Yul Brynner In part III and IV I discussed solutions for a circular problem where two indices performed a race within a circular buffer; that is, either index could be […]