Pergunta de entrevista da empresa Deloitte

They asked puzzle in technical interview