Driver Code
public static void Main ( string [ ] args ) { int [ ] A = { 2 , 4 , 6 , 1 , 5 , 3 } ; int [ ] B = { 6 , 5 , 4 , 2 , 3 , 1 } ; int N = A . Length ; Console . WriteLine ( minOperations ( A , B , N ) ) ; } }