AlgoMaster Logo

Triangle

triangle=[[2],[3,4],[6,5,7],[4,1,8,3]]
0 / 14
algomaster.io
Step:Walk top to bottom, each step moves to an adjacent cell below. Build the cheapest totals from the bottom up