Calculating the maximum of first ancestor of u and v
maxWei = Math . Max ( maxWei , Math . Max ( maxWeight [ v , 0 ] , maxWeight [ u , 0 ] ) ) ; Console . Write ( minWei + " ▁ " + maxWei + " STRNEWLINE " ) ; } }