What is Gradle?
Android Software Developer Interview Questions
8,371 android software developer interview questions shared by candidates
Simple Data Structure Questions with interesting twists in them, I wish I had brushed up my DS before I went.
Given a circular array of 0s and 1s find max number of consecutive 1s 12 balls of the same shape with 1 being defective. Given a weighing machine, you have 3 chances to find the defective one Custom LiveData
--Recursion based question --Arrays
Largest array of equal 1's and 0's
1. Fragment , service , asynctask , service lifecycle 2. How to stop garbage collection (never had this question in my life before) 3. Lots of questions of Rx-java , though I told them I don't know that they keep on asking about it (like how to run multiple asynctask at the same time) 4. Android ndk 5. Android localization 6. At the end they asked me a data structure question You are given a list of strings , find the anagrams (not sure if the guy wanted me to compare every 2 of them) , time complexity of that etc , by that time I kind of understood they have a different requirement so did not try much for this question. 7. How two threads will communicate with each other (not sure if it is android related or general java question) 8 . How do you handle server exception 9 . Android recycleview
Some of the gists that we are fetching have anonymous owners, which in turn means we don't have the owner's image to load for the gist. Switch to use GithubApi.getGistsObservable() as your api which will return you an Observable instead of Call object. Make sure the app behaves as it is supposed to with the new method of fetching the data. Filter out the gists with no owners/images Optimize the adapter in charge of populating the list
BONUS Try to implement this feature without Notifying your adapter.
How many years of experience?
I was given a problem involving an integer array, and the goal was to transform it in a way that required careful thought about time and space optimization. While discussing my solution, I suggested using a hashmap for optimization (which is wrong to begin with), which led to a follow-up question about how hashmaps work internally and I couldn't answer it.
Viewing 1251 - 1260 interview questions