Tintri Interview Question

String manupulation.