Implement map, filter and compactMap for Collection
Task
Write your own map, filter and compactMap as an extension on Collection, supporting throwing closures.
The rest of this answer, with code and interview follow-ups, is in the DevPrep app.
Read the full answer in DevPrep