4Catalyzer interview question

basic parsing / testing q