โ† FactSet questions

Maximize median after K additions

Filed under FactSet

Given an array of integers and an integer K, perform exactly K operations where each operation adds 1 to an element. Maximize the median of the array after these operations.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related FactSet questions

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