Driver Code
public static void main ( String [ ] args ) { String s = " abcdwef " ; if ( checkReverseBitonic ( s ) == 1 ) System . out . println ( " YES " ) ; else System . out . println ( " NO " ) ; } }