Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Short fast non-recursive lambda solution in Speedy category for Golden Pyramid by StefanPochmann
count_gold=lambda p:reduce(lambda a,b:[f+max(d,e)for d,e,f in zip(a,a[1:],b)],reversed(p))[0]
April 15, 2015
Comments: