HENNGE interview question

Solve three challenges.