Hexaware Technologies Interview Question

String related questions.