educative.io

Educative

Can we have visualization of the Challenge

Can we improve our bottom-up DP solution even further? Can you find an algorithm that has O(S)O(S) space complexity?

It seems like there is lot of overwriting happening.
Why sum is starting backward? Some magic there.

Cheers