J.P. Morgan Interview Question

Basic and intermediate string manipulation