Invalid test case


#1

Why for the test case
A : 12
B : [ 8, 8, 6, 5, 4 ]
The output should be [4,4,4] and not [0,4]?


#2

Primarily you need to maximize number of kicks which is 3 in case of [4,4,4] greater than 2 for [0,4]