Machine-translated by Google. Questions are authored in English.
Top

Discussion

A coin with heads facing up is shown as H and a coin with tails facing up is shown as T.

Six coins are placed in the Starting Arrangement, as shown in the figure below. A “step” is defined as interchanging a pair of adjacent coins without flipping them. The minimum number of steps needed to go from the Starting Arrangement to the Final Arrangement, as shown in the figure, is ________.

Starting ArrangementH H H T T T
Final ArrangementT T T H H H

  • A.3
  • B.6
  • C.9
  • D.12

Answer: C

The minimum number of steps is 9.

Each step swaps two neighbouring coins, so it changes the relative order of exactly one pair of coins. In the starting arrangement H H H T T T every H stands to the left of every T; in the final arrangement T T T H H H every T stands to the left of every H. Each of the 3 × 3 = 9 head-tail pairs has to change its order, and one step can reverse only one pair, so at least 9 steps are needed.

Nine steps are also enough: move the first T leftwards past three H coins (3 steps), then the second T past the three H coins (3 steps), then the third (3 steps).

3 and 6 are too few because they reverse only some of the nine pairs, and 12 is more than the minimum.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.