Dynamic solution O(N^2) vs Recursive solution O(N^2)


#1

Dynamic solution using 2D matrix