Pregunta de entrevista de ASUS

Codility Dynamic Programming problem - Input A[], int F, int M where - A[] - int array containing some dice rolls output - Need to add F number of new roll to array so that - The mean becomes M - Output - Array[] of added F number of rolls - `[0]` if no possible solution