Altimetrik interview question

Coding Assessment - Function composition