Lead Ios Engineer Interview Questions

4,823 lead ios engineer interview questions shared by candidates

You are given 9 balls and they look exactly the same in color and physical appearance. You are also given a scale. To make things easy you are given that one of the balls amongst these 9 balls is heavy. How can you find out which ball is heavy with least number of weighings?
avatar

Mobile Developer (IOS)

Interviewed at AgileAssets

3.7
Sep 29, 2013

You are given 9 balls and they look exactly the same in color and physical appearance. You are also given a scale. To make things easy you are given that one of the balls amongst these 9 balls is heavy. How can you find out which ball is heavy with least number of weighings?

What will be printed after the following code? class TestClass { var aBlock: (() -> ())? = nil let aConstant = 5 init() { print("init") self.aBlock = { print(self.aConstant) } } deinit { print("deinit") } } var testClass: TestClass? = TestClass() testClass = nil
avatar

IOS Developer

Interviewed at Fiverr Inc.

4.1
Feb 8, 2018

What will be printed after the following code? class TestClass { var aBlock: (() -> ())? = nil let aConstant = 5 init() { print("init") self.aBlock = { print(self.aConstant) } } deinit { print("deinit") } } var testClass: TestClass? = TestClass() testClass = nil

Pretend you're given a simple iOS app with a table view and a text field which looks like a search bar. It has methods to call to a remote server to get potential auto complete words. Describe how you would actually implement the iOS side.
avatar

IOS Developer

Interviewed at Meta

3.5
Jan 14, 2016

Pretend you're given a simple iOS app with a table view and a text field which looks like a search bar. It has methods to call to a remote server to get potential auto complete words. Describe how you would actually implement the iOS side.

Given an array that contains numbers and/or other nested arrays, write an algorithm to come up with a sum of these elements, multiplied by the depth (or how many arrays deep) you are. For example, what would you do with an input array that looks like: [ 2, 3, [ 9, [ 1, 2 ]], 4]
avatar

IOS Developer

Interviewed at Meta

3.5
Oct 19, 2017

Given an array that contains numbers and/or other nested arrays, write an algorithm to come up with a sum of these elements, multiplied by the depth (or how many arrays deep) you are. For example, what would you do with an input array that looks like: [ 2, 3, [ 9, [ 1, 2 ]], 4]

Viewing 71 - 80 interview questions

Glassdoor has 4,823 interview questions and reports from Lead ios engineer interviews. Prepare for your interview. Get hired. Love your job.