โ† Microsoft questions
CodingEasy

Find Remaining Dice Roll Values for Target Sum

Filed under Microsoft

Given n total dice rolls and a target sum, with m rolls already performed, find the values of the remaining n-m rolls such that their sum equals the target.

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.