There are 9 marbles. All looks exactly same (color, size). But one marble is slightly heavier. You cannot tell the difference with your hand/eyes. But you have a very sensitive and accurate balance (Taraju). You have to pay Rs 1000 each time you use the balance. You need to find out the HEAVIEST marble using the balance least number of time. How many time would you use the balance to find out the heaviest marble?
Software Developer Intern Interview Questions
2,873 software developer intern interview questions shared by candidates
Write a function that takes in an integer array and returns a boolean, whether or not the array has duplicates in it.
What are the technologies you have worked with?
Some histogram question on leetcode. Medium level.
Given an array, and another key, find two numbers in the array that add upto the key.
An array contains alphabets, some of which may have duplicates. Find the number of duplicates.
How does Java Garbage Collection work? How would you implement garbage collection?
Print out the numbers from 0 to 999. If a number is divisible by 3, print a "!" after it. If a number is divisible by 11, print a "?" after it. Each number should be printed only once, and should be on a new line.
Find the rectangle of maximal area under a histogram
Given an array of integers, provide an efficient way of finding an integer that appears only once in this array.
Viewing 21 - 30 interview questions