Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
MaxNode solution in Clear category for Golden Pyramid by MihaylovNikitos
def count_gold(p):
def node(r,n):
if r>=len(p):return 0
return max([p[r][n] + node(r+1,n+x) for x in [0,1]])
return node(0,0)
Jan. 1, 2016