Pergunta de entrevista da empresa Luxoft

Problem solving questions with some hints.