Write a function to find elements that repeat a given N times in a given L list.
Ios Software Engineer Interview Questions
5,579 ios software engineer interview questions shared by candidates
How will you implement sets and the intersection operation? Complexity?
Reverse array eficiently.
Palindrome question. Given a string, return true if its a palindrome, ex. "abba" = true, "abcba" = true
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. */
Why do you want to work at Fetch Rewards?
Palindrome String problem
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?
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