GlobalLogic Interview Question

Reverse the number ,string and Oops question