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. */
Ios Engineer Interview Questions
7,305 ios engineer interview questions shared by candidates
Build an app that consumes this provided API. Display that information in a table view, and when tapped display a detailed view for that event. Include a way to mark an event as a favorite, and add the search functionality. Marking a favorite should remain persistent between app installs.
Why do you want to work at Fetch Rewards?
Palindrome String problem
- Reverse a linked list - String palindrome - Swift language - iOS Concepts - Design problem (Build a Notification Center) - Design problem (Build UI similar to google calendar)
Why do you want to shut off the video feed? Don't you know I am entitled to see you?
what are high order functions in swift?
You are given two sorted lists, return a sorted list of the two lists combined
2. What happens when you send a message to an objeect that doesn't implement the method?
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 131 - 140 interview questions