Software Developers Interview Questions

96,181 software developers 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?

1st Round: Consider an array of 5 elements. You must create a new array such that at a given position 'i', the number should be product of all elements of original array except the 'i'th element. You have to solve this in least number of iterations possible.
avatar

Junior Software Developer

Interviewed at CONTENTSERV

3.1
Jan 2, 2016

1st Round: Consider an array of 5 elements. You must create a new array such that at a given position 'i', the number should be product of all elements of original array except the 'i'th element. You have to solve this in least number of iterations possible.

Viewing 471 - 480 interview questions

Glassdoor has 96,181 interview questions and reports from Software developers interviews. Prepare for your interview. Get hired. Love your job.