Android Engineer Interview Questions | Glassdoor

Android Engineer Interview Questions

180

Android engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

write a recursive function that solves the equation X[n] = X[n-1] + X[n-2] where X is an array that contains at least two integer values and the function should solve the question for the 3rd value in the array

2 Answers

I'm guessing a key element they want to see in your answer is that you realize there's a lot of recalculating the same values over and over in the recursion process, especially for large values of n. For example, x[5] = x[4] + x[3] x[4] = x[3] + x[2] x[3] = x[2] + x[1] x[2] = x[1] + x[0] x[1], x[0] are known x[1] is known x[2] = x[1] + x[0] x[1], x[0] are known x[3] = x[2] + x[1] x[2] = x[1] + x[0] x[1], x[0] are known x[1] is known If you cache a couple of values in the recursive function, you can improve performance significantly. You might also get some points for recognizing this can be used to generate the Fibonacci sequence.

yes its a fibonacci series problem solved using recursion and memoization, classic example of dynamic programming. without caching runtime is exponential.

only got to the android 90 min coding exercise where you have to make an application

3 Answers

Trick question associated with flipping the number 6 upside down to make 9. Android XML related questions.

1 Answer

Create simple app with button, edittext, activities, intents, textviews. I wouldn't write it in exact detail here since it is internal.

1 Answer

Debugging in android

1 Answer

1st round (phone screening): 1. WAP to implement pow(a,b) function. 2. WAP to build a BST.

1 Answer

2nd skype: - Lets say you have to build an activity (screen) which has a drop-down & once you select an item in the drop-down, it loads an image corresponding to that on the screen below. - How will handle cases where user is very rapidly changing his selection from the drop down

1 Answer

4th skype (design round): - How will you design an app (client) & server to implement a word guess game. For e.g. app will ask user to guess the word (it will show blank spaces first equal to size of the word) one character one time. He will have 'n' chances to guess correct word. Based on the result, he will win or loose money (prize). Assume you have well defined payment & user registration system. Assume external systems required for this game already present. Just concentrate on designing the above core requirement

1 Answer

Implement the following method signature `String addBinary(String a, String b)`

1 Answer

What is your favorite superhero

1 Answer
110 of 180 Interview Questions