Driver code
public static void Main ( ) { int [ ] arr = { 3 , 16 , 12 , 9 , 20 } ; int n = 5 ; int k = 3 ; Console . WriteLine ( " Max ▁ height ▁ difference ▁ = ▁ " + minimizeDiff ( arr , n , k ) ) ; } }