Everpure Interview Question

Dynamic programming problem leetcode coin