Write a function to calculate the height of a binary tree. What are the merits of using an Array List vs a Linked List? How would you implement Merge Sort and Quick Sort? What are their time complexities?
Ios Developer Internship Interview Questions
7,861 ios developer internship interview questions shared by candidates
A basic regex parser
Declare an array of size 10
Q: What if the response changed suddenly, what can you do about that? Q: Why using a singleton. Q: Change the implementation to take multiple answers instead of one till we reach a certain count.
Implement a simple table/collection view with alternating cell layouts; no boilerplate.
Do a Google Image Search for an “H tree” (Glassdoor doesn’t allow links to be embedded in these recaps). The first image you’ll find (if it’s red H lines on a white background) will be what I was shown. Given the following bare bones API, how would you code up something to draw X levels deep of an H tree? #import <stdio.h> #import <Foundation/Foundation.h> typedef struct { float x; float y; } Point void drawLine(Point p1, Point p2) { // draws line } void drawHTree(Point center, float length, int depth) { }
Classic algorithm questions such as those online, though most if not all involved recursion. E.g. generate permutations, check for sums, etc.
1 behavioral interview, 2 about algorithms and one about app architecture, requests and some border cases on a small app.
Cite um design pattern que vc conhece e descreva-o
Quais projetos eu já tinha participado.
Viewing 1211 - 1220 interview questions