Ios Software Engineer Interview Questions

5,579 ios software engineer interview questions shared by candidates

For my phone (and Collabedit) question, I was asked to implement functionality matching the description of this API: /* This class will be given a list of words (such as might be tokenized * from a paragraph of text), and will provide a method that takes two * words and returns the shortest distance (in words) between those two * words in the provided text. * Example: * WordDistanceFinder finder = new WordDistanceFinder(Arrays.asList("the", "quick", "brown", "fox", "quick")); * assert(finder.distance("fox", "the") == 3); * assert(finder.distance("quick", "fox") == 1); * * "quick" appears twice in the input. There are two possible distance values for "quick" and "fox": * (3 - 1) = 2 and (4 - 3) = 1. * Since we have to return the shortest distance between the two words we return 1. */
avatar

IOS Developer

Interviewed at LinkedIn

3.8
Apr 26, 2017

For my phone (and Collabedit) question, I was asked to implement functionality matching the description of this API: /* This class will be given a list of words (such as might be tokenized * from a paragraph of text), and will provide a method that takes two * words and returns the shortest distance (in words) between those two * words in the provided text. * Example: * WordDistanceFinder finder = new WordDistanceFinder(Arrays.asList("the", "quick", "brown", "fox", "quick")); * assert(finder.distance("fox", "the") == 3); * assert(finder.distance("quick", "fox") == 1); * * "quick" appears twice in the input. There are two possible distance values for "quick" and "fox": * (3 - 1) = 2 and (4 - 3) = 1. * Since we have to return the shortest distance between the two words we return 1. */

1. "copy” is not a property of which following class? a. NSArray b. NSInteger c. NSString d. NSNumber 2. You can not call which following method directly? a. sizeThatFits b. sizeToFit c. layoutSubview d. setNeededLayout 3. What type can be used for a delegate? a. strong b. weak c. inout d. copy 4. Which of following can not be appended to an Array. a. Int b. NSObject c. CGColor d. Date 5. In following mechanism, which one can not be used to decouple class? a. delegate b. mutex c. notification d. block
avatar

IOS Developer

Interviewed at Meta

3.6
Nov 18, 2017

1. "copy” is not a property of which following class? a. NSArray b. NSInteger c. NSString d. NSNumber 2. You can not call which following method directly? a. sizeThatFits b. sizeToFit c. layoutSubview d. setNeededLayout 3. What type can be used for a delegate? a. strong b. weak c. inout d. copy 4. Which of following can not be appended to an Array. a. Int b. NSObject c. CGColor d. Date 5. In following mechanism, which one can not be used to decouple class? a. delegate b. mutex c. notification d. block

Viewing 111 - 120 interview questions

Glassdoor has 5,579 interview questions and reports from Ios software engineer interviews. Prepare for your interview. Get hired. Love your job.