Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
DP solution in Uncategorized category for Stair Steps by gflegar
def checkio(numbers):
numbers = [0] + numbers + [0]
for i in range(2, len(numbers)):
numbers[i] += max(numbers[i-2:i])
return numbers[-1]
Jan. 28, 2014
Comments: