1st round (phone screening): 1. WAP to implement pow(a,b) function. 2. WAP to build a BST.
Mobile Software Developer Interview Questions
392 mobile software developer interview questions shared by candidates
How to implement an Atomic property wrapper.
given an API that looks like this: interface EventReporter { enum Interval = {SECOND, MINUTE, HOUR}; public void recordEvent(String eventName, LocalDateTime t); public Map<String, Int> getEventCounts(String eventName, LocalDateTime start, LocalDateTime end, Interval i) } and data that looks like this: "x", 20:00:01 "x", 20:00:01 "x", 20:00:15 "x", 20:10:00 "x", 20:58:00 Describe a data structure and how you might implement the API's that come up with counts (via the "getEventCounts") for these three different "interval" types: Ask for event counts for "x", from 20: to 21:, with interval Second, you'd get: {"20:00:01": 2, "20:00:15": 1, "20:10:00": 1, "20:58:00": 1} Or with interval Minute: "20:00" -> 3, "20:10" -> 1, "20:58" -> 1 Or with interval hour: "20" -> 5
Ache o próximo palíndromo mais próximo.
The phone interview question was done via Coderpad and was titled "The Threebonacci Table" For the purposes of this problem, a Threebonacci sequence is a twist on the Fibonacci sequence where you would sum the previous three elements to get the next element. That is, if the Threebonacci function is defined as t, where n is the index of the element involved, t(n) = t(n-1) + t(n-2) + t(n-3). You can assume t(0) = 0, t(1) = 1, and t(2) = 1. With this information, please complete the tableview in the following UIViewController so that each UITableViewCell displays its Threebonacci value corresponding with its row index. An example is as follows: 0 1 1 2 4 and so on so forth.
how would one reduce dynamic dispatch in Swift
Sorry, I can't remember the details, but I think the first one was just asking questions that would verify my resume. The second asked some extremely simple questions on HTML and JavaScript
How can you implement a method with a variable number of arguments
What is the best way to improve Core Data Performance
First question I was handed a laptop with Xcode running on it. The assignment was to write a super simple browser app that used substitution (or "regular expression", as the interviewer referred to it) to replace any instances of the word "Nest" with something arbitrary (e.g. I chose something like the name "Glassdoor").
Viewing 91 - 100 interview questions