Javascript program to find minimum number of squares to cut a paper using Dynamic Programming
let dp = new Array ( 300 ) ; for ( let i = 0 ; i < 300 ; i ++ ) { dp [ i ] = new Array ( 300 ) ; for ( let j = 0 ; j < 300 ; j ++ ) { dp [ i ] [ j ] = 0 ; } }