Hexaware Technologies interview question

Sum of numbers and Reverse a string