The meeting room problem.
Lead Ios Engineer Interview Questions
3,141 lead ios engineer interview questions shared by candidates
Design an enumerator (e.g. named FBSuperEnumerator) that has two API's: - (id) nextObject; - (NSArray *) allObjects; // all objects remaining which, when given an input array that has content that can be either NSNumbers or NSArray, will expand all arrays embedded inside it. That is, given an input of something like @[@1, @[@2, @[@3, @4]], @[ ], @5], each call to nextObject will display items in the expected order.
Print Tree nodes level by level
Solve for n factorial using recursion.
How to pop two viewController at a time
Given an array where the otherwise sorted values are split into two ranges somewhere in the middle (e.g. [5,7,8,9,1,2,3]), come up with an algorithm that returns TRUE or FALSE if any given number X exists in that array.
When ARC takes place?
a telephone keypad has letters associated with each number (e.g. 2 = abc, 3 = def); given a passphrase of "fb1" (e.g. one that you might use to log into a bank account), come up with an algorithm that would assemble an array that contains all the different possible letter combinations that, when typed into a telephone dial pad, would be equivalent to the original passphrase.
NSRange intersections
Given an array of integers and integer K, return another array holding integers appeared K times in the given array
Viewing 21 - 30 interview questions