🚦 Multithreading & concurrency: iOS interview questions
- Ways to achieve concurrency in iOS/macOS Middle PRO
- Run loop Middle PRO
- Deadlock Middle PRO
- Livelock Senior PRO
- DispatchGroup Middle PRO
- Semaphore Middle PRO
- Mutex Middle PRO
- @synchronized Middle PRO
- A setter in non-ARC code Middle PRO
- Difference between synchronous and asynchronous tasks Junior PRO
- Asynchrony vs multithreading — what's the difference? Middle PRO
- Serial vs concurrent queue — what's the difference? Junior PRO
- How does DispatchQueue.global() differ from your own concurrent queue? Middle PRO
- What is a barrier and on which queue does it work? Middle PRO
- Can you call main.sync from the main thread? What happens? Junior PRO
- What is DispatchSemaphore and what if you forget signal()? Middle PRO
- What is a race condition and how do you fix it (3 ways)? Middle PRO
Practice this before your interview
DevPrep turns these answers into one-minute challenges: what does this code print, find the bug, mock interviews. One challenge a day.
Get DevPrep on the App Store