Suggested approach: The best answer of course is to provide detailed explanations of what you've used and where, but as you go make sure and talk about what functional programming means – functions must be first-class types, you place an emphasis on pure functions, and so on.
If you’re not sure where to start, the easiest answer is to list some small specifics: if you’ve used map()
, compactMap()
, flatMap()
, reduce()
, filter()
and so on, that’s a good place to begin.
Estimated difficulty: Intermediate
See the full list of iOS interview questions
Link copied to your pasteboard.