Hello guys,
So recently i was solving this simple DP problem and i was confused when i got an MLE using a memoization table memo[1e7][2] however some others's codes got Accepted using the same memory as mine .
here is my code , can anyone explain please ? :)