Hyphen Group interview question

Take home assignment