Given an array or User (struct), get the top 1k user that is closest to a given location.
Mobile Software Engineer Interview Questions
351 mobile software engineer interview questions shared by candidates
Basic coding questions, mobile app questions (explain the concepts and steps involved in building an app screen, etc.)
what is a __block decorator added to a function API?
What are Objective-C class extensions?
What does "DRY" mean?
Just about my projects and the technologies I used.
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?
During execution of a method that processes large amounts of data, the application is terminated with a memory warning. What can be done to fix this? (choose one)
For my mobile focused interviews, I don't recall any questions that were intensely difficult.
Viewing 31 - 40 interview questions