Comscore Interview Question

String Manipulations, Merging Sequences