Throttle Array

Execute an array of async tasks with a concurrency limit, processing at most N tasks at a time.

Asked in Uber frontend interviews