import java.util.*; public class Solution { public int minMoney (int[] arr, int aim) { if (aim == 0) { return 0; } int[] dp = new int[aim + 1]; for (int i = 1; i <= aim; i++) { int min = Integer.MAX_VALUE; for (int current...