AKUNA CAPITAL interview question

dynamic programming