Müller UK & Ireland interview question

Complete this technical problem, you have 2 hours.