Pergunta de entrevista da empresa Philips

The final design question is quite difficult for me.