Developer Intern Interview Questions

12,169 developer intern interview questions shared by candidates

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?
avatar

Software Developer Intern

Interviewed at ComplianceQuest

4
Oct 3, 2020

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?

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.
avatar

Software Engineer Intern

Interviewed at LinkedIn

3.8
Feb 6, 2014

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.

Viewing 131 - 140 interview questions

Glassdoor has 12,169 interview questions and reports from Developer intern interviews. Prepare for your interview. Get hired. Love your job.