Crystal Mind interview question

binary search , method to take String and reverse it , UML and flow chart