Squarepoint Capital interview question

leet code dynamic programming questions