Puzzle1 - Given 8 coins, and the fact that one of the coins is heavier than the other, how many times(min) do you need to use a beam balance to figure out which is the anomalous coin? After I answered this, he made it little tougher. Given 9 coins and one anomalous coin(maybe heavier or lighter), figure out which coin it is and whether heavier or lighter. What is the min no of comparisons? This is where i took a while to answer.
Developer Interview Questions
268,884 developer 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
The same list, back to inorder binary tree
Why Accenture?
1. Given a string, find the smallest window with greatest no. of distinct characters 2. k sorted array. 3. longest distance between a node and its ancestor.
You have words separated by white spaces. You need to reverse their order in place.
Reverse a string of words "Hi I am John" as "John am I Hi" without using array functions like split , reverse or join?
Reverse an array without using the reverse method, without using a second array, and without duplicating any of the values.
After i got selected they are demanding money.
Can we write try catch inside constructor?? Binary Search
Viewing 221 - 230 interview questions