Driver code
public static void main ( String [ ] args ) { int N = 5 ; Vector < pair > V = new Vector < > ( ) ; V . add ( new pair ( 2 , 5 ) ) ; V . add ( new pair ( 3 , 8 ) ) ; V . add ( new pair ( 1 , 10 ) ) ; V . add ( new pair ( 7 , 14 ) ) ; V . add ( new pair ( 2 , 5 ) ) ; maxBoundary ( N , V ) ; } }