← TBO questions

RAM Virus Depletion Simulation

Filed under TBO

The question

A virus consumes 1MB of RAM in the 1st second, 2MB in the 2nd, and so on, always consuming from the larger of two RAM modules (or the first if equal). Determine the exact second when RAM runs out of memory.

No write-up yet. Related questions below have one.

Related TBO questions

Collected from public candidate posts and coding forums. Updated Nov 2026.