dunnhumby interview question

String operations and DS related questions