Ios Developer Engineer Interview Questions

7,850 ios developer engineer 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".

Viewing 941 - 950 interview questions

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