Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2636. Promise Pool
Given an array of functions that return Promises and a concurrency limit k, implement a scheduler that runs at most k promises simultaneously and starts a new task as soon as one finishes. The solution should return a Promise that resolves when all tasks complete (typically collecting results in the original order).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.