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 Arrangement: (H) (H) (H) (T) (T) (T)
Final Arrangement: (T) (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 adjacent coins, so it can change the relative order of only that one pair. In the starting row every one of the 3 heads is to the left of every one of the 3 tails, and in the final row every head is to the right of every tail. So each of the 3 × 3 = 9 head-tail pairs must be reversed, and at least 9 steps are needed.

9 steps are enough: move the leftmost tail three places left (3 steps), then the next tail three places (3 steps), then the last (3 steps). 3 and 6 steps cannot reverse all 9 pairs, and 12 is more than necessary.

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

Post your comment

Please log in or register to post a comment.