Difference between the depth of the two given nodes
int diff = level [ b ] - level [ a ] ; while ( diff > 0 ) { int log = ( int ) ( Math . Log ( diff ) / Math . Log ( 2 ) ) ; ans = Math . Max ( ans , mx [ log , b ] ) ;