Meta interview question

String manipulation