ZS Associates interview question

throughput