Search
⌘K

Leetcode 2028. Find Missing Observations

Given m observed 6-sided die rolls and a target mean for n+m rolls, determine whether the n missing rolls can sum to the required total using values in [1,6] and return any such array or an empty array if impossible. The core challenge is checking feasibility against per-die bounds and constructing a valid distribution of the required sum across n numbers.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Your account is free and you can post anonymously if you choose.