Esko interview question

Technical question was a bit tricky