TD interview question

complete the Simulation Exercise online?