โ† KLA questions
CodingReported in a candidate post, May 2021

Minimize array sum after k half-value operations

Filed under KLA

The question

Given an array and k operations where each operation replaces a number with half of its value (integer division or float), return the minimum possible sum of the array after k operations.

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

Related KLA questions

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