Navigation · Missions, Coverage and Fleets · M8-L3 · Intermediate
Explore by Frontiers
03:20. The east wing has been renovated and nobody has a map. Scout is sent in to build one, with one rule: always drive to the best frontier, and come home when there is nothing left worth seeing.
On the first night it drives into a wall, then spends an hour looping to a frontier behind a door, and finally never stops. You will fix the three decisions behind these failures.
Your task
Lab complete: post-mortem
You have passed every stage. Now connect it back to the theory and move on:
Output
What Python can I use?
Plain Python with math and heapq. Your code runs in a background worker: an endless loop is stopped after a few seconds and the page stays usable. It runs in your browser and is never sent anywhere.