Ios Software Engineer Interview Questions

7,861 ios software engineer 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."

Viewing 6381 - 6390 interview questions

Glassdoor has 7,861 interview questions and reports from Ios software engineer interviews. Prepare for your interview. Get hired. Love your job.