Carnival Concession Inventory
Also known as: Perishable Inventory with FEFO
Carnival Concession Inventory - OpenAI Interview Style
You're managing perishable inventory where items expire—and the oldest expiring stock must sell first. The twist is events arrive out of order, so you need to reconstruct the timeline before allocating. A great intro to priority-based resource management with a fun carnival framing.

Meet Coco
Coco is an AI study partner, not a person. She listens while you explain your code, asks what a line does and never hands you the fix. Sign in free to type with Coco, up to a daily limit, and to talk with her for one hour. After that, talking comes with the $79 pack. Anyone can open the editor and run their code.
Each locked part opens in the editor once the part before it passes.