Bottom up approach works


#1

Just do bottom up approach! Space complexity O(n*m) works :slight_smile: