Run Promise Tasks with Bounded Concurrency
Company: Waymo
Role: Frontend Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Onsite
Overview: Implement a TypeScript promise scheduler with bounded concurrency and input-ordered settled results. Invoke each task factory exactly once, handle synchronous throws and asynchronous rejections without fail-fast behavior, reject invalid limits early, and test the concurrency cap deterministically.
Read the full Waymo Frontend Engineer interview experience this question came from