Implement parallel image loading without a data race (GCD + async)
Task
You have fetchImage(url:) (an async variant and a completion variant). Implement fetchImages(urls:) so images load in parallel, the result preserves the order of urls, and the code has no data race and compiles in Swift 6 mode.
The rest of this answer, with code and interview follow-ups, is in the DevPrep app.
Read the full answer in DevPrep