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