Java Support Interview Questions

30,885 java support interview questions shared by candidates

You are given 8 identical looking balls. One of them is heavier than the rest of the 7 (all the others weigh exactly the same). You a provided with a simple mechanical balance and you are restricted to only 2 uses. Find the heavier ball.
avatar

Java

Interviewed at HCLTech

3.5
Feb 20, 2017

You are given 8 identical looking balls. One of them is heavier than the rest of the 7 (all the others weigh exactly the same). You a provided with a simple mechanical balance and you are restricted to only 2 uses. Find the heavier ball.

You have 25 electronic horses, you don't have any way of measuring time. You have a racetrack with 5 lanes so that you can race the horses against each other. What is the least number of races required to find the top 3 fastest horses?
avatar

Java Developer

Interviewed at Walmart

3.4
Oct 24, 2018

You have 25 electronic horses, you don't have any way of measuring time. You have a racetrack with 5 lanes so that you can race the horses against each other. What is the least number of races required to find the top 3 fastest horses?

Viewing 1511 - 1520 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 30,885 interview questions and reports from Java support interviews. Prepare for your interview. Get hired. Love your job.