Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
asgs115635y1. 3 balls on each side of the scale. If the scale is leveled, then the 7th ball is the heaviest
2. If one side is tilted, then that side has the heaviest. So use the scale again placing one ball on each side. If the scale is leveled, the 3rd is heaviest. Otherwise, the ball which caused the tilt is the heaviest -
monrichi8565y@siebe it wasn't a long time ago. I remember I got the answer in the end and they gave me a hint. Don't remember what it was.
-
I raise you:
- 12 balls
- 1 of them is heavier OR lighter than the others
- weighing with a scale is allowed 3 times
Find out which ball is different from the others AND tell for sure if it is lighter or heavier than the others.
Related Rants
-
dfox3My favorite kind of interview question/challenge is anything that is highly practical for the job. At the curr...
-
opengenus7Interviewer: How will you solve the travelling salesman problem? Me: *explains the solution on whiteboard* I...
-
karma11Please make an entire webshop with animated shopping cart in react + redux within a week 👍 We will then re...
Not a coding challenge, it was more of a logical problem.
"You are given 7 ball, all equal in size but one is slightly heavier than the other 6. You have to find the heaviest ball and you are allowed to use the scale only twice."
rant
riddle
wk192