You are viewing a single comment's thread. Return to all comments →
Python3
def chiefHopper(arr): energy = 0 for height in reversed(arr): energy = math.ceil((energy + height) / 2) return energy
Seems like cookies are disabled on this browser, please enable them to open this website
Chief Hopper
You are viewing a single comment's thread. Return to all comments →
Python3