method returns minimum number of step to collect coin from stack , with height in height [ ] array
public static int minSteps ( int height [ ] , int N ) { return minStepsRecur ( height , 0 , N , 0 ) ; }