Print all maximum heights
for ( int i = 1 ; i < n ; i ++ ) System . out . println ( " The ▁ maximum ▁ height ▁ when ▁ node ▁ " + i + " ▁ is ▁ considered ▁ as ▁ root ▁ is ▁ " + Math . max ( in [ i ] , out [ i ] ) ) ; }