Apple Interview Question

String manipulation question.