Home
← All questions

Run dependent jobs with a worker cap

HardJavaScript

Asked at Rippling · Uber · Amazon

Some jobs must wait for others to finish first. Start ready jobs together, but never run more workers than the allowed cap.

Premium question

Unlock the full problem, starter code, and hidden test cases with Mentoxis Premium.

Unlock with Premium