Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second dp (len is 95) solution in Creative category for Golden Pyramid by lezeroq
# migrated from python 2.7
from functools import reduce
count_gold=lambda s:max(reduce(lambda p,r:[0]+[g+max(p[i:i+2])for i,g in enumerate(r)],s,[0]))
May 16, 2015
Comments: