You have an Activity, and you implement push notification, when you receive a notification, and you tap on it, the PendingIntent launched point to your Activity. If you open a notification, and your Activity is visible in that moment, in which method of the activity you receive the intent with the information of the push message?
Developer Interview Questions
269,109 developer interview questions shared by candidates
Write a method that takes a string and reverse it
Giving a circular sorted array Ex: [7,9,3,5,6], write an algorithm that finds the smaller element index.
How would you implement UIView hitTest mehtod?
you have a list of people, and a function that return true/false if one person knows the second person. write a function that finds a VIP, which everybody knows and he doesn't know anybody else.
Write javascript function for add(3)(4);?
A and B are 32 bit numbers with first 16 bits valid in A and next 16 bits valid in B. (The non-valid bits aren't necessarily 0). WAP that adds A and B without using arithmetic operator.
3.write an sql query to get second largest scorer in a student table
Friends A, B, C, D go for a trip. They spend on various expenses. Cost of the expense is shared. Example : A spends 100 for breakfast for A, B, C and D D spends 500 for cab for B and C B spends 300 for lunch for A, B and C Write a program to calculate how much each should get or each should give to one another. App should be scalable that number of friends can change
Coding challenge
Viewing 801 - 810 interview questions