Maximum triangle path sum: Difference between revisions

Content added Content deleted
Line 724:
}
 
// Evaluating from the bottom row upwards
return foldr1(
function (xs, ys) {
Line 733 ⟶ 734:
);
}, [
[55],
[94, 48],
[95, 30, 96],