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 ______.
Tap to open full sizeFigure description
The coins are drawn as small circles with a letter inside: a circle containing H is a coin with heads up, and a circle containing T is a coin with tails up. Below the text there are two rows of six circles side by side in a horizontal line. On the left, under the heading "Starting Arrangement", the row reads from left to right: H, H, H, T, T, T. On the right, under the heading "Final Arrangement", the row reads from left to right: T, T, T, H, H, H.
- (A)
3
- (B)
6
- (C)
9
- (D)
12