Change value of edge number 8 ( index 8 - 1 ) to 28
change ( 8 - 1 , 28 , n ) ; System . out . print ( " After ▁ Change : ▁ max ▁ edge ▁ between ▁ " + u + " ▁ and ▁ " + v + " ▁ is ▁ " ) ; maxEdge ( u - 1 , v - 1 , n , chain_heads ) ; v = 4 ; System . out . print ( " Max ▁ edge ▁ between ▁ " + u + " ▁ and ▁ " + v + " ▁ is ▁ " ) ; maxEdge ( u - 1 , v - 1 , n , chain_heads ) ;