Imagine (or even better, draw out) a railroad track divided into three sections due to two signals placed onto the track. Then two robots running identical code are dropped onto the tracks. One into the middle (in between the two signals) and another to the right of the rightmost signal. Both robots run the same program, written in a simple BASIC-like language. here’s the sample app the interviewer provided 10 LEFT 20 RIGHT 30 IF SIGNAL THEN 40 LEFT 50 ELSE 60 RIGHT 70 GOTO 10 If this program were run on both robots, the robot to the right of the rightmost signal would go off screen to the right to infinity. Assuming that a collision check happens on each line of code, how could we design a program that can get the robots to collide (or end up on the same place on the tracks at the same time)?
Mobile Software Developer Interview Questions
428 mobile software developer interview questions shared by candidates
why use typedefs?
They asked me about my work experience.
How to implement xxx feature ? (they will ask you a question from the current system they have)
1- Person1 favourite numbers is X, Person2 favourite number is Y, non-empty zero-indexed array A consisting on N integers given, persons are interested in occurrences of their fav numbers X, Y in array, they are looking for longest leading fragment of array in which an equal number of occurrences of X, Y int fund(int X, int Y, int[] A) should return maximum A[P] contains same X and Y or -1 -
Given an array or User (struct), get the top 1k user that is closest to a given location.
Basic coding questions, mobile app questions (explain the concepts and steps involved in building an app screen, etc.)
what is a __block decorator added to a function API?
What are Objective-C class extensions?
What does "DRY" mean?
Viewing 31 - 40 interview questions