Question 4
Combinatorics · Logic BDMO 2021 Regional
Suppose you have the sequence of letters . In a single step, you can do one of the following two operations on the sequence:
- Swap two adjacent letters, or,
- Reverse the entire sequence.
For example, from the initial sequence, you can go to either or in a single step. What is the minimum number of steps you need to make the sequence read ?