Mr. Cooper Interview Question

String Manipulation (Adding and Removing) Algorithm