Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 293 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 293 Bytes

triangle-puzzle

Code to solve puzzles like the following example

Triangle By starting at the top of the triangle and moving to adjacent numbers on the row below, the maximum total from top to bottom is 27.

      5
    9  6
  4   6  8
0   7  1   5

I.e. 5 + 9 + 6 + 7 = 27.