Mobile Software Developer Interview Questions

392 mobile software developer interview questions shared by candidates

Here's an Objective C category extension. What's wrong with this code? @interface UIImage (RemoteImage) { NSURL * url; UIImage * image; } - (id) initWIthURL: (NSURL *) _url; @end @implementation UIImage (RemoteImage) - (id) initWithURL: (NSURL *)_url { self = [super init]; if( self != nil ) { url = _url; NSURLResponse * response = [NSURLResponse new]; NSURLRequest * request = [[NSURLRequest alloc] initWithURL: url]; NSData * data = [NSURLConnection sendSynchronousRequest: request returningResponse: response error: nil]; image = [UIImage imageWithData: data]; return image; } return self; } - (void) dealloc { [super dealloc]; [url release]; [image release]; } @end
avatar

Mobile Software Engineer

Interviewed at GREE International Entertainment

2.8
Oct 31, 2012

Here's an Objective C category extension. What's wrong with this code? @interface UIImage (RemoteImage) { NSURL * url; UIImage * image; } - (id) initWIthURL: (NSURL *) _url; @end @implementation UIImage (RemoteImage) - (id) initWithURL: (NSURL *)_url { self = [super init]; if( self != nil ) { url = _url; NSURLResponse * response = [NSURLResponse new]; NSURLRequest * request = [[NSURLRequest alloc] initWithURL: url]; NSData * data = [NSURLConnection sendSynchronousRequest: request returningResponse: response error: nil]; image = [UIImage imageWithData: data]; return image; } return self; } - (void) dealloc { [super dealloc]; [url release]; [image release]; } @end

Given this code: int sum( int a, int b) { int i, s; for( i = a; i < b; i++) s+=a; } We're trying to get the sum of a range of numbers (1-3 = 6, 3-6 = 18, etc). What are the bugs in this code? What's the complexity of this code?
avatar

Mobile Software Engineer

Interviewed at IonGrid

5
Dec 5, 2012

Given this code: int sum( int a, int b) { int i, s; for( i = a; i < b; i++) s+=a; } We're trying to get the sum of a range of numbers (1-3 = 6, 3-6 = 18, etc). What are the bugs in this code? What's the complexity of this code?

Here's phone question # 1: What is an anagram? A word, phrase, or name formed by rearranging the letters of another, such as cinema, formed from iceman. Assumptions: 1) An anagram of a word is the same length as the word. 2) You can assume for this exercise that any word is composed of unique characters, i.e., only one occurence of any given character. 3) Assume all characters are lower case, if they are letters. Write a method that given a single word and a dictionary text file (csv of words), returns a set of all anagrams of that word from the dictionary. In: Word is 'act', CSV is 'tac, cat, taa, tact' Out: 'tac, cat'
avatar

Mobile Software Engineer

Interviewed at Lookout

3.1
May 22, 2013

Here's phone question # 1: What is an anagram? A word, phrase, or name formed by rearranging the letters of another, such as cinema, formed from iceman. Assumptions: 1) An anagram of a word is the same length as the word. 2) You can assume for this exercise that any word is composed of unique characters, i.e., only one occurence of any given character. 3) Assume all characters are lower case, if they are letters. Write a method that given a single word and a dictionary text file (csv of words), returns a set of all anagrams of that word from the dictionary. In: Word is 'act', CSV is 'tac, cat, taa, tact' Out: 'tac, cat'

NDA but the phone interviews were easier than average. Code challenge for mobile was a pre-set up project with bugs/other stuff for you to fix, as well as some small features for you to add. Onsite included some pair programming, a brain teaser, algorithm/data structure fundamentals, and ofc some behavioral/background questions.
avatar

Software Developer (Mobile)

Interviewed at IXL Learning

3.3
May 13, 2016

NDA but the phone interviews were easier than average. Code challenge for mobile was a pre-set up project with bugs/other stuff for you to fix, as well as some small features for you to add. Onsite included some pair programming, a brain teaser, algorithm/data structure fundamentals, and ofc some behavioral/background questions.

Viewing 41 - 50 interview questions

Glassdoor has 392 interview questions and reports from Mobile software developer interviews. Prepare for your interview. Get hired. Love your job.