Squarepoint Capital Interview Question

-> Leetcode Medium on Dynamic programming