Pergunta de entrevista da empresa Tier 11

Simulation Task was the second round.