CoinDCX interview question

Task Runner with Limited Parallelism