# Algorithms | Misc | Question 11

Given 8 identical coins out of which one coin is heavy and a pan balance. How many minimum number of measurements are needed to find the heavy coin?
(A) 2
(B) 3
(C) 4
(D) 7

Explanation:

```Divide the coins into three groups and name the coins according to there group:
A: A1, A2, A3
B: B1, B2, B3
C: C1, C2

Measure group A and group B. Two cases arise:
1. They are equal. One more measurement is needed to find the heavy
coin in group C. Total two measurements needed in this case.
2. They are not equal. Find the heavy group, say A. Pick any two coins
from this group,  say A1 and A3. Measure A1 and A3 in the pan balance.
Two cases arise:
2.1 They are equal. A2 is the heavy coin. Total two measurements
needed.
2.2 They are not equal. It is known which of A1 or A3 is heavy.
Total two measurements needed.
So, the above observations says that in any case, 2 measurements are enough
to find the heavy coin.
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}