Premium

Concurrency-Limited Map (order-preserving)

By FrontendAtlas Editorial · Updated Nov 11, 2026

Challenge summary

Map asynchronous work over an input collection while enforcing a strict concurrency limit and preserving result order.

What you'll practice

  • Keep the number of active tasks within the configured limit.
  • Preserve input order even when tasks finish out of order.
  • Propagate failures without starting unnecessary additional work.

What Premium unlocks

Premium unlocks the runnable workspace, behavioral checks, implementation walkthrough, and edge-case discussion.

Free related practice

Public interview reports: LeetCode Discuss (August 2022) · Uber frontend interview questions

Upgrade to FrontendAtlas Premium to unlock this challenge. Already upgraded? Sign in to continue.

Premium is $24 a month or $99 a year, less in many countries.