Optimize Memory Usage
Filed under Amazon
The question
Given lists of task memory requirements and a maximum memory threshold, select combinations of foreground and background tasks that optimize total memory usage without exceeding the bound.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.