You are viewing a single comment's thread. Return to all comments →
val half=(n+1)/2
val intermediate_height=pow(2,half)+(pow(2,half)-2)
val height=if((n+1)%2==0) intermediate_height else intermediate_height+1
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 →