Driver Code
public static void Main ( String [ ] args ) { int [ ] start = { 0 , 2 , 4 } ; int [ ] end = { 7 , 14 , 6 } ; int n = start . Length ; int d = 3 ; Console . Write ( minDistance ( start , end , n , d ) ) ; } }