Maximum triangle path sum: Difference between revisions

Content added Content deleted
Line 724: Line 724:
}
}


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