Sollicitatievraag bij Caspex

Given array, how many times you have to add target to make the array incremental.