Media.net Interview Question

Round 1. dynamic programming problem, 1 2-D array problem