Ios Developer Interview Questions

5,608 ios developer interview questions shared by candidates

Here’s a ninja (i.e. supposedly not a heavy) question: Given an array of numbers, reset the array to put all the non-zero numbers in front of all the zeros in the array, then return the count of non-zero numbers. e.g., for an input array of [3,0,2,0,0,1,0,4], you’ll end up with a return value of 4 and an array of [3,2,1,4,0,0,0,0] I do not remember if they asked me to do this in-line and/or return the adjusted array as well.
avatar

IOS Developer

Interviewed at Meta

3.5
Oct 19, 2017

Here’s a ninja (i.e. supposedly not a heavy) question: Given an array of numbers, reset the array to put all the non-zero numbers in front of all the zeros in the array, then return the count of non-zero numbers. e.g., for an input array of [3,0,2,0,0,1,0,4], you’ll end up with a return value of 4 and an array of [3,2,1,4,0,0,0,0] I do not remember if they asked me to do this in-line and/or return the adjusted array as well.

This is a question from my first interview (back in 2015), and I have a feeling it's still used: A telephone keypad has letters associated with each number  (e.g. 2 = abc, 3 = def). Given a passphrase of "fb1" (e.g. one that you might use to log into a bank account), come up with an algorithm that would assemble an array that contains all the different possible letter combinations that, when typed into a telephone dial pad, would be equivalent to the original passphrase. That is, "fb1" equals "321" numerically; matching equivalent combinations include: "da1", "db1", "dc1", "ea1", "eb1", "ec1", "fa1" and "fc1".
avatar

IOS Developer

Interviewed at Meta

3.5
Oct 19, 2017

This is a question from my first interview (back in 2015), and I have a feeling it's still used: A telephone keypad has letters associated with each number  (e.g. 2 = abc, 3 = def). Given a passphrase of "fb1" (e.g. one that you might use to log into a bank account), come up with an algorithm that would assemble an array that contains all the different possible letter combinations that, when typed into a telephone dial pad, would be equivalent to the original passphrase. That is, "fb1" equals "321" numerically; matching equivalent combinations include: "da1", "db1", "dc1", "ea1", "eb1", "ec1", "fa1" and "fc1".

For the technical test, i remember one task, so.. You have an array of strings which describes rectangles as (A, B, C, D) values A ___________ | | | | D | |B | | | | ------------------ C Implement method to recognize 3 kind of figures: - squares (each side equals to others, A = B = C = D) - rectangles (each side equals to the opposite A = C, B = D) - and other figures (A != B != C != D) So the output must the 3 numbers of figures counters separated with space symbol. Input data: { "36 30 36 30", "15 15 15 15", "46 96 90 100", "86 86 86 86", "100 200 100 200", "-100 200 -100 200" } Output data: 2 2 2 Maybe that was a little joke which spreads a bit of my time, but the main thing I founded with the output data - the answer is incorrect, because if we look at input data and simply count figures, we will have 2 squares, 3 rectangles and 1 other figure. However, I made correct implementation, which had output if "2 3 1". HackerRank platform didn't recognize my answer as correct. Second task I made correct and HackerRank recognize it as fully completed, and the third one I made mostly complete. Recruiter answered me that I'm confirmed for the next round which would be Phone Interview. I had 2 days to prepare, and made a list of questions (made search on this site) and all of them was on the interview: 1. What do you know about Booking.com? Do you know the business model of Booking.com? How does Booking get their revenue? 2. What are my motivations for applying? 3. Illustrate both my academic and working background. 4. What is my expectation of the position. 5. What can be improved in the Booking app and site?
avatar

Graduate IOS Developer

Interviewed at Booking.com

4.1
Aug 30, 2016

For the technical test, i remember one task, so.. You have an array of strings which describes rectangles as (A, B, C, D) values A ___________ | | | | D | |B | | | | ------------------ C Implement method to recognize 3 kind of figures: - squares (each side equals to others, A = B = C = D) - rectangles (each side equals to the opposite A = C, B = D) - and other figures (A != B != C != D) So the output must the 3 numbers of figures counters separated with space symbol. Input data: { "36 30 36 30", "15 15 15 15", "46 96 90 100", "86 86 86 86", "100 200 100 200", "-100 200 -100 200" } Output data: 2 2 2 Maybe that was a little joke which spreads a bit of my time, but the main thing I founded with the output data - the answer is incorrect, because if we look at input data and simply count figures, we will have 2 squares, 3 rectangles and 1 other figure. However, I made correct implementation, which had output if "2 3 1". HackerRank platform didn't recognize my answer as correct. Second task I made correct and HackerRank recognize it as fully completed, and the third one I made mostly complete. Recruiter answered me that I'm confirmed for the next round which would be Phone Interview. I had 2 days to prepare, and made a list of questions (made search on this site) and all of them was on the interview: 1. What do you know about Booking.com? Do you know the business model of Booking.com? How does Booking get their revenue? 2. What are my motivations for applying? 3. Illustrate both my academic and working background. 4. What is my expectation of the position. 5. What can be improved in the Booking app and site?

Viewing 701 - 710 interview questions

Glassdoor has 5,608 interview questions and reports from Ios developer interviews. Prepare for your interview. Get hired. Love your job.