Driver Code
public static void main ( String [ ] args ) { int N = 3 , M = 2 ; int Edges [ ] [ ] = { { 1 , 2 } , { 2 , 3 } } ; for ( int i = 0 ; i < vec . length ; i ++ ) vec [ i ] = new Vector < Integer > ( ) ; minEdgeRemoved ( N , M , Edges ) ; } }