Riley’s Chapter Search: A Binary Search Mission

CHALLENGE 02DIVIDE & CONQUERBEGINNERCODE MISSION

Riley works the reference desk, and the patrons never stop coming. Each one wants a chapter number, and the catalog in front of her is sorted but never fully alphabetized by patience — she doesn’t get to flip through it card by card. You’re making every call she makes: which card to check, which half to abandon, and when to finally say a chapter simply isn’t here. If you haven’t run The Halving Chamber yet, do that first — this mission assumes you already know why each branch is the right one, not just which button to press.

Response

  1. […] to put this into practice under a little narrative pressure? Riley’s Chapter Search hands you the decisions Riley has to make at the reference desk — same algorithm, real […]

Leave a Reply

Discover more from ARCATRON

Subscribe now to keep reading and get access to the full archive.

Continue reading