Pre - computation
let C = new Array ( maxlen ) ; for ( let i = 0 ; i < maxlen ; i ++ ) { C [ i ] = new Array ( maxlen ) ; for ( let j = 0 ; j < maxlen ; j ++ ) C [ i ] [ j ] = 0 ; } binomialCoeff ( C ) ;