AVEVA interview question

Reverse a string, binary search