You are viewing a single comment's thread. Return to all comments →
def chiefHopper(arr): energy = 0 for height in reversed(arr): energy = (energy + height + 1) // 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 →