You are viewing a single comment's thread. Return to all comments →
int height = 0; int i = 0; while(i<=n) { height = i % 2 ==0 ? height + 1 : height * 2; i++; } return height;
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 →