Qualtrics Interview Question

Dynamic programming question similar to the "Climbing Steps" problem.