Tier 11 interview question

Simulation Task was the second round.