private int min(int input[],int low,int high){
        int min = Integer.MAX_VALUE;
        for(int i=low; i <=high; i++){
            if(min > input[i]){
                min = input[i];
            }
        }
        return min;
    }
http://www.geeksforgeeks.org/remove-minimum-elements-either-side-2min-max/
src/com/interview/dynamic/RemoveFromEndToMake2IntoMinGreaterThanMax.java