You are viewing a single comment's thread. Return to all comments →
def utopianTree(n): h = 1 for i in range(n): if i % 2 == 0: h *= 2 else: h += 1 return h
Seems like cookies are disabled on this browser, please enable them to open this website
Utopian Tree
You are viewing a single comment's thread. Return to all comments →