Jio HotStar Senior Front End Engineer

Jio HotStar Senior Front End Engineer Round 1-Rejected

Jio Hotstar-Senior Front End Engineer - Round 1

Description:
Education: Bachelors
Years of Experience (YOE): 5.2
Questions Asked:

Implement a function that takes two parameters:

  • task: function that has to be executed
  • limit: Maximum number of tasks to run in parallel

As you call the function to execute more async tasks, the function can execute the task if the number of running tasks is less than limit, otherwise queue the task and execute those tasks later.