friends , few days ago i was doing a problem but certainly i lost its link
question is :: given a string and in one operation we can swap adjacent characters only .
what to do :: find minimum number of operation so that given string will be reversed.
help me to get way to solve it , it is really a good problem.