Function to print minimum removals required to make given array bitonic
function makeBitonic ( arr , N ) { if ( N == 1 ) { document . write ( " " + " " ) ; return ; } if ( N == 2 ) { if ( arr [ 0 ] != arr [ 1 ] ) document . write ( " " + " " ) ; else document . write ( " " + " " ) ; return ; } min_element_removal ( arr , N ) ; }