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?
Developer Intern Interview Questions
12,169 developer intern interview questions shared by candidates
I was asked to write a function which determines that angle between the two clock hands (minute and hour hands) given a time.
Write functions that convert a string to uppercase or lowercase without assuming anything about the alphabet or character set it uses (for instance, do not assume it is in English or ASCII).
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?
Implement a function to solve an string given in reverse polish notation.
The interview problems were fairly straightforward. One was given 2 Nodes in a binary tree, find the closest ancestor and the other one was given a 2D array of people who follow one another, determine who's an influencer(followed by everyone, follows no one). Example: If A[i][j] is true, then person i follows person j.
Some histogram question on leetcode. Medium level.
Given an array, and another key, find two numbers in the array that add upto the key.
Perform binary search on a sorted array, of which you don't know the size.
Viewing 131 - 140 interview questions