Pergunta de entrevista da empresa Turbolab Technologies

Problem based on logic and reasoning.