Pascal's triangle: Difference between revisions

m
Line 2,333:
 
return a
.concat([zipWith((a, b) => a + b,
(a, b) => a + b, [0].concat(lstPreviousRow),
lstPreviousRow.concat(0)
)]);
Line 2,372:
indent: ''
}).rows;
 
})();</lang>
 
9,655

edits