Pergunta de entrevista da empresa Philips

Data structure and problem solving.