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.
avatar

IOS Developer

Interviewed at Meta

3.5
Oct 19, 2017

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.

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.
avatar

IOS Developer

Interviewed at LinkedIn

3.8
Apr 26, 2017

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.

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.
avatar

IOS Developer

Interviewed at Meta

3.5
Jan 14, 2016

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.

Viewing 21 - 30 interview questions

Glassdoor has 3,141 interview questions and reports from Lead ios engineer interviews. Prepare for your interview. Get hired. Love your job.