AKUNA CAPITAL Interview Question

dynamic programing in python and leetcode hard