← HSBC questions

Memory Allocation

Filed under HSBC · Also reported at Target

The question

Given an array of memory consumed by programs (as 2^k), find the minimum total memory needed by rounding the sum to the nearest 2^k.

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

Related HSBC questions

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