LiveRamp Interview Question

2 coding questions , 1 was Dynamic Programming question