Flip String to Monotone Increasing — CaffeCode