Ios engineer Interview Questions | Glassdoor

ios engineer Interviews

Find jobs for ios engineer

Ios engineer Interview Questions

919

ios engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

What are the App states. Explain them?

2 Answers

Active: app is foreground Background: app is not foreground but still executing codes Inactive: app is suspended

Not Running - app has not been launched or was running but terminated by system. Inactive - app is running in foreground but not receiving events. Active - app is running in foreground and receiving events. Background - app is in the background and executing code. Suspended- the app is in the background but is not executing code.

What is a volatile variable, and why would you use it?

2 Answers

What is iphone reference library?

1 Answer

Phone interview question # 1: Given an array (for example, [ 1, 0, 2, 0, 0, 3, 4 ]), implement methods that 1. returns the number of non-zero elements (4) 2. moves the non-zero elements to the beginning of the array (the rest of the elements don't matter) -> both [ 1, 2, 3, 4, 0, 0, 0] and [ 4, 1, 3, 2, X, Y, Z ] are valid

17 Answers

Verify that a binary search tree is indeed a binary search tree.

15 Answers

Given an array, without using extra space, move all zeros to the end and no-zeros to the beginning. The function should return the number of non-zeros.

13 Answers

Given a list of number 8 4 3 0 6 4 0, move all 0's to start of the list. use minimum sorting rounds

11 Answers

given an array of words, how to eliminate the duplicates? You have a simple tree structure Ⓐ and its clone ⓐ. Each node in the tree has a pointer to it's parent as well as an array of its children. Given an original tree's node Ⓑ and cloned tree ⓐ, implement a method that returns ⓑ (the clone of Ⓑ). (Imagine finding the matching UIButton/UISlider/UIView in a separate cloned view controller.) Original Ⓐ ┏━┻━━┓ ◯ ◯ ┏┻┓ ┏━╋━┓ ◯ ◯ ◯ ◯ ◯ ┏┻┓ ┃ ◯ Ⓑ ◯ Clone ⓐ ┏━┻━━┓ ◯ ◯ ┏┻┓ ┏━╋━┓ ◯ ◯ ◯ ◯ ◯ ┏┻┓ ┃ ◯ ⓑ ◯

9 Answers

Given nested arrays, write an enumerator class such that next() returns the elements in sequential order, e.g.: [1,[4,3],6,[5,[1,0]]] -> 1, 4, 3, 6, 5, 1, 0 also implement allObjects for this class

9 Answers

If you have a program that runs slow, how will you improve it to run faster?

7 Answers
110 of 919 Interview Questions