You have 9 billiard balls. They are all the same weight, save one. You want to find out which one is heavier. All you have is a scale that determines the heavier side. You can weigh any number of balls at any time. What is the least amount of weighings you can do to find the heaviest ball?
weasel7711 0 Junior Poster in Training
Recommended Answers
Jump to PostCool problem. You can do it in two weighings.
Edit - I explained how, but after thinking about it, I took down the explanation in case other people want to puzzle over it themselves.
As a generalization, if you have n balls and one of them is heavy, how many …
Jump to PostHahaha, well done mate.
Easy when you know how eh? :icon_cheesygrin:
All 7 Replies
VernonDozier 2,218 Posting Expert Featured Poster
chriswellings 0 Junior Poster in Training
VernonDozier 2,218 Posting Expert Featured Poster
thoughtcoder commented: Using red is discriminatory against the color blind. +0
chriswellings 0 Junior Poster in Training
Thinka 40 Posting Whiz Team Colleague
VernonDozier 2,218 Posting Expert Featured Poster
Thinka 40 Posting Whiz Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.