Gousto interview question

Coding exercise