The paper studies the following problem: given two strings, A and B, find the minimum number of reversals that transform the string A into the string B.