SoloMedium20m

The Queue Preview That Moved Too Much

### P2 · Reorder preview overstates relocations A synthetic queue preview forecasts four relocations for four entries; the trusted baseline needs fewer. Repair only plan_reorder in planner.py under the exact README contract. Keep validation, monitor and tests intact. Run python monitor.py and python -m unittest discover -v, then open a PR against main with regression evidence.

This is an offline planner. No live queue or operation executor is involved.

Skills you'll prove

pythonsubsequencesdynamic-programmingdeterminismdebuggingtestingbook-vs-prod

Interview Tip

I distinguished relative order from absolute positions and chose a maximum retained subsequence with deterministic original-index ties. A subset oracle validated the chosen IDs, and direct relocation search validated the small-instance move counts.

Browse freely — sign in when you're ready to open a ticket and prove your skills.