Visa Inc. interview question

String manipulation questions