Rangle.io interview question

A focus on functional programming.