Ios Software Engineer Interview Questions

680 ios software engineer interview questions shared by candidates

In the first technical, they asked a question related to closure and capture values which was something like: var string = "car" let closure = { [string] in print("I'm driving \(string)") } string = "truck" closure() Then a question related to lazy keyword whether lazy stuff is thread safe or not. Then a question where there's a kingdom in which there is a king. If the king dies, his child becomes the king otherwise the dead king's sibling becomes the next king. Write a function or computed property to get the currentHeir. (Had to use tree with depth first search to do this.)
avatar

Software Engineer II - IOS

Interviewed at Careem

3.7
May 22, 2022

In the first technical, they asked a question related to closure and capture values which was something like: var string = "car" let closure = { [string] in print("I'm driving \(string)") } string = "truck" closure() Then a question related to lazy keyword whether lazy stuff is thread safe or not. Then a question where there's a kingdom in which there is a king. If the king dies, his child becomes the king otherwise the dead king's sibling becomes the next king. Write a function or computed property to get the currentHeir. (Had to use tree with depth first search to do this.)

I can't tell you the questions because of NDA. But if you comfortable with algorithms (sorting, iterations, find), arrays, trees, linked lists and all this stuff - you should perform well. Only thing I should mention - practice in whiteboard coding before the interview to feel comfortable about that. In about 5 to 10 problems you'll become okay with idea of writing code on whiteboard(if you don't do that in everyday work of course), and this should help.
avatar

Software Engineer - Mobile IOS

Interviewed at Yelp

3.2
Mar 15, 2016

I can't tell you the questions because of NDA. But if you comfortable with algorithms (sorting, iterations, find), arrays, trees, linked lists and all this stuff - you should perform well. Only thing I should mention - practice in whiteboard coding before the interview to feel comfortable about that. In about 5 to 10 problems you'll become okay with idea of writing code on whiteboard(if you don't do that in everyday work of course), and this should help.

Viewing 421 - 430 interview questions

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