Harness interview question

String compression and return in order