how can you make it thread-safe: class AClass { var arr: [String] }
Ios Developer Internship Interview Questions
7,861 ios developer internship interview questions shared by candidates
Telephonic: Search a given number in a sorted 2D array. F2F: 1. Group all the odd and even numbers in a given array. 2. Given an array, find the subarray whose cumulative sum is equal to a given sum. Finding space-time complexity and finding the best possible solution. 3. Design a template based UICollectionView to support multiple designs. Validation of response and its implementation WRT Swift. Questns related protocol-oriented programming. 4. Design a network layer and explain the components in detail. Design a workflow for user sign up model including the bit explanation on its design on backend(DB and API) 5. Rider-Driver problem. Finding the best possible driver in a given city. Derivation of the same on a co-oridnate axes with theorem. Also find test plan for the given flow on production and an A/B test plan.
Design a horizontal and vertical scrollable view
The technical test was online and HR interview was on phone. The HR questions were the usual ones.
1- Difference between LayoutIfNeeded, LayoutSubviews, SetneedsDisplay
How ARC works?
The other question was recursive of course (something almost never used in iOS development, but whatever). Given an amount of money and some lists of products, you have to return how many different options you have to buy one of each of the products.
Differences between Class & struct
Given a tree of nodes that looks like this: A / \ B G / \ \ C D H / \ E F Come up with an algorithm that determines the longest path from each node in the tree.
Get common parent of two UIViews in a view hierarchy.
Viewing 1241 - 1250 interview questions