Maximum triangle path sum: Difference between revisions

(Added an Algol 68 implementation)
Line 83:
=={{header|ALGOL 68}}==
{{works with|ALGOL 68G|Any - tested with release 2.6.win32}}
Basically the same algorithm as Ada and C++ but using a triangular matrix.
<lang algol68># create a triangular array of the required values #
 
Line 134 ⟶ 135:
+1320
</pre>
 
=={{header|C++}}==
{{trans|Ada}}
3,045

edits