Hi good developers... Sorry if i ask wrong questio...
# android
a
Hi good developers... Sorry if i ask wrong question, but i am much needed this. So i have interview on monday as android developer with experience required 1.5 years. So i am 1 year experinced. And what things i should practice and learn more to meet the interviewer, and he asked me more about cloud messaging, push notification, services etc. please guide me throughout. Thanks for answering guys.
a
k
Is that your git? If so, https://github.com/nethergrim/Android-Cheat-sheet/blob/master/src/arrays/FindMissingNumber.java could use some work. There’s no reason to pass in arr.length when you’re already passing in arr. Second, it probably could use some commenting, because the names of the functions and class suggest the question presented is not the question being answered. Question presented appears to be “given an array, which numbers between min(array) and max(array) are missing from it? SHould return
int[]
. Question answered appears to be “what is the sum of all the numbers missing from the array that lie between min(array) and max(array)” It returns
int
. And then if that is the case, the logic is not sound: passing in an empty array, it will return 1. Passing in an array {100}, it will return
-97
.
Regardless, @Arslan I hope your interview went well!
a
@kyleg One of the question was why we use buildtype in gradle, and what is ARMv7?
a
Hi @kyleg not my repo, just found it around. I guess we can contribute to it, @Arslan hope this link helped!
a
@antoniomarin I found 14 questions from this sheet in total of 20 questions. So thanks alot it really helped.