Programming Question

Question: You are given 10 bags of gold coins. Nine bags contain coins that each weigh 10 grams. One bag contains all false coins that weigh one gram less. You must identify this bag in just one weighing. You have a digital balance that reports the weight of what is placed on it.

From: Algorithm Design Manual [Skiena]

Subject: Algorithm Analysis

Load Another Question


Select a Subject