Find if any of two elements of array sum up to a given number.
Ios Software Engineer Interview Questions
5,592 ios software 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.
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".
Most challenging task you ever had
Write a method to compare two binary trees.
How delegate works
Phone interview question: which keyword to use for a delegate property? strong, weak, unsafe unretained, assign
Easy programming problem but a bit tricky.
Swift: Optional, Concurrency, MVVM SwiftUI: All property wrappers, comparisons
What are advantages / Disadvantages of using third-party or open source libraries?
Viewing 671 - 680 interview questions