Android developer Interview Questions | Glassdoor

Android developer Interview Questions

590

android developer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

What is a volatile variable, and why would you use it?

2 Answers

Volatile keyword is used during multi-threading when you want the threads to edit this variable value. It ensures that the value of the variable is not cached and is stored directly in the main memory. hence, enabling concurrent usage of the variable by different threads.

Consider a single threaded single processor environment. Do you still need a volatile?

(this is a little easier to explain if it's drawn out, but I'll try my best to do it here) Given some integer N = 2^k which represents an NxN matrix, write a function that fills the matrix with 'L' shapes, such that the entire matrix is filled except for 1 empty space. For example, a 2x2 matrix would have 3 spaces filled with one of the corners empty. And a 4x4 matrix would have the entire outer row of spaces filled, with the center 4 filled the same way the 2x2 matrix is filled.

6 Answers

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

2 Answers

String reverse. Tree(data structure) related question.

2 Answers

The remote coderpad challenge was to map some json to an object. The json object contained a part of a url path and had children with deeper parts of the path and so on. Had to write an algorithm to traverse the object's tree and print all full paths.

2 Answers

Which Android frameworks do you use?

2 Answers

Simple questions you would find in Cracking the Coding Interview

2 Answers

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

There is a rope that will burn for a total of 10 minutes, but at variable rates. How would you use this rope to measure the passage of 5 minutes?

2 Answers

can you make a sentence out of another sentence

2 Answers
110 of 590 Interview Questions