Lead Ios Developer Interview Questions

3,242 lead ios developer interview questions shared by candidates

- shuffle an array. got to demonstrate each element has equal probability to get this random number. e.g. [1, 2, 3, 4, 5] becomes [4, 2, 1, 5 3]. each element has a 0.2 probability to get the random num - create a data structure to add a number, remove a number, and get a random number from added numbers. All method must have runtime O(1)
avatar

IOS Engineer

Interviewed at Amazon

3.5
Dec 10, 2020

- shuffle an array. got to demonstrate each element has equal probability to get this random number. e.g. [1, 2, 3, 4, 5] becomes [4, 2, 1, 5 3]. each element has a 0.2 probability to get the random num - create a data structure to add a number, remove a number, and get a random number from added numbers. All method must have runtime O(1)

ios fundamental. define your color(e.g. red, green) in enum design pattern(e,g, delegate, MVVM) how to make asyn method call? write a method to multiple all the price by 0.8, given a currency. e.g. "John has USD 300. Mary borrowed USD75 from him." method is like String convert(String s, float multiplier, String currency) if i call convert("John has USD 300. Mary borrowed USD75 from him.", 0,8, "USD"), then it returns "John has USD 240. Mary borrowed USD60 from him."
avatar

IOS Engineer

Interviewed at Amazon

3.5
Dec 10, 2020

ios fundamental. define your color(e.g. red, green) in enum design pattern(e,g, delegate, MVVM) how to make asyn method call? write a method to multiple all the price by 0.8, given a currency. e.g. "John has USD 300. Mary borrowed USD75 from him." method is like String convert(String s, float multiplier, String currency) if i call convert("John has USD 300. Mary borrowed USD75 from him.", 0,8, "USD"), then it returns "John has USD 240. Mary borrowed USD60 from him."

Programming exercise was good- you had 1:15 hr in XCode to write a simple iOS application with data persistence, implement a shake motion gesture, localize it into french and spanish, and ensure the UI resized correctly. Then you had to write the test cases for your app. All told if you knew what you were doing you should have the basics done in under an hour. From there you can spend the rest of your time making the UI pretty.
Jun 14, 2013

Programming exercise was good- you had 1:15 hr in XCode to write a simple iOS application with data persistence, implement a shake motion gesture, localize it into french and spanish, and ensure the UI resized correctly. Then you had to write the test cases for your app. All told if you knew what you were doing you should have the basics done in under an hour. From there you can spend the rest of your time making the UI pretty.

Viewing 3001 - 3010 interview questions

Glassdoor has 3,242 interview questions and reports from Lead ios developer interviews. Prepare for your interview. Get hired. Love your job.