🧮 Algorithms & data structures: iOS interview questions
- What is Big-O notation and why is it needed? Junior PRO
- Array vs linked list — what's the trade-off? Junior PRO
- What is a hash table and how are collisions resolved? Middle PRO
- Stack and queue — how do they differ and where are they used? Junior PRO
- How does binary search work and what are its requirements? Middle PRO
- Compare simple and efficient sorts. Middle PRO
- What is recursion and why is it dangerous? Middle PRO
- What is a tree and a binary search tree (BST)? Middle PRO
- How would you check if an array has two numbers summing to X? Middle PRO
- Fibonacci sequence Middle PRO
- Array complexity Junior PRO
- Set and Dictionary complexity. Advantage over Array? Junior PRO
- How is a Dictionary (hash map) built? Senior PRO
- What is ContiguousArray and why use it? Senior PRO
- How does NSArray differ from Swift Array? 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