AT&T Interview Question

a leetcode easy question about min coins needed for giving change