Bounded Parallel Map
Hard · Concurrency
Apply fn to every item with at most limit goroutines at a time. Preserve input order in the result.
Write PMap(limit, items) that doubles each item (n*2) as fn. Return the doubled slice in order.
Next: Unstick a Handshake