← Microsoft questions
CodingReported in a candidate post, Aug 2021

Reach target mean by adding K elements

Filed under Microsoft

Given an array of numbers ranging from 1 to 6 and an integer K, determine if you can add K elements (each between 1 and 6) to the array such that the exact mean of the new combined array becomes F…

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 Microsoft questions

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