Unit8 interview question

Solve a given decomposition problem