Visa Inc. interview question

One string manipulation and one graph