All Exams Test series for 1 year @ ₹349 only
Question

A coin with heads facing up is shown as and a coin with tails facing up is shown as .
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 ________.
                                                                                                   

The correct answer is
9

The problem requires determining the minimum number of steps needed to rearrange coins from the "Starting Arrangement" to the "Final Arrangement" by interchanging adjacent coins.

Let's define the starting arrangement as \( HHHHTT \) and the final arrangement as \( TTTTHH \).

  1. The first step is to move the 'H' from the first position over to where the 'T' needs to be placed:
    • Interchange first 'H' at position 1 with a 'T' at position 4 → \( HHHTHT \)
  2. Move 'H' again left to right to position 3:
    • Interchange 'H' at position 2 with 'T' at position 3 → \( HHTHHT \)
  3. Continue moving 'H' left to right:
    • Interchange 'H' at position 3 with 'T' at position 2 → \( HTHTHH \)
  4. Move 'H' from position 2 over to left to complete the arrangement:
    • Interchange 'H' at position 1 with 'T' at position 0 → \( THTHHH \)
  5. The remaining 'T's are lined up on the left. Interchange pairs to correctly align remaining coins for achieving final configuration:
    • Interchange ‘H’ from positions 4 to 0 and T from 0 to 4 iteratively – requires a total of 6 more steps:
      • \( TTHTHH \) → \( TTHTHH \) → \( TTTTHH \)

Each step involves only interchanging adjacent coins and counting up leads to a minimum of 9 steps.

Thus, the correct answer is: 9.

Was this answer helpful?

Important Questions from Permutations

  1. How many words can be formed with the letters of the word 'POSTMAN', if every word begins with T and ends with M?

  2. In how many ways can cells in a $3 \times 3$ grid be shaded, such that each row and each column have exactly one shaded cell? An example of one valid shading is shown.

  3. Three husband-wife pairs are to be seated at a circular table that has six identical chairs. Seating arrangements are defined only by the relative position of the people. How many seating arrangements are possible such that every husband sits next to his wife?
  4. The number of 'three-digit numbers' that can be formed using the digits from 1 to 9 without the repetition of each digit is ________.
  5. The number of ways in which the letters in the word MINING can be arranged is
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App