Tag
simulation
Coding
Monster Battle System: Turn Simulation and Smart Attacker Selection
Build a deterministic monster battle in Java and Python, then optimize repeated best-attacker queries without changing the rules.
Coding
Plant Infection on a Grid: Spread, Recovery, Death, and Firebreaks
Five escalating grid questions, from multi-source BFS to timed events and an exact firebreak planner, with Java and Python solutions.
Coding
GPU Credits: Out-of-Order Grants and Expiring Credits
Replay timestamped credit events with an expiry-ordered heap, then cache balances across a bounded time horizon. Includes tested Java and Python solutions.