Given an array of ints = [6, 4, 0, 5, 0, 0, 0, 1, 0] move all non zero numbers to the left and zeros to the right. How can you now improve your answer to O(n)?
Android Lead Interview Questions
2,275 android lead interview questions shared by candidates
Your photo-sharing app displays a system notification when the user receives a photo. Your app should display the photo when the user taps the notification. Which of the following do you need to attach to the Notification object that you pass to NotificationManager? A. An Activity reference B. A PendingIntent C. A BroadcastReceiver D. A Fragment transaction
Develop an android app in 3 hours
Why do you want to work for our company?
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?
Implement method oneEditApart that return boolean: true, if using one operations (insert or remove or replace) we can modify one string to get another. False otherwise. // Signature: boolean oneEditApart(String s1, String s2) // Allowing operations insert remove replace Example: oea("cat", "cut") => true // replace "u" -> "a" oea("cat", "cuts") => false // no operations oea("ca", "ca") => false // no operations oea("cats", "cat") => true // remove "s" oea("cat", "at") => true // insert "c" oea("cat", "cbat") => true // remove "b"
how can u access private member in other class.?
Given a linked list, make a deep copy of the list, then print its contents.
Deep copy a linked list
"Please fill out this form, it's like your CV only 10 pages long"
Viewing 1 - 10 interview questions