Skip to content / Đến nội dung
ThichHocToan.com

MathNet 2024-part-05 — 168 problems (EN–VI) Question 126

Math Olympiad Vault · MathNet 2024-part-05 — 168 problems (EN–VI)

Question 126

What is the minimum number of successive swaps of adjacent letters in the string $ABCDEF$ that are needed to change the string to $FEDCBA$? (For example, 3 swaps are required to change $ABC$ to $CBA$; one such sequence of swaps is $ABC \to BAC \to BCA \to CBA$.)

(A) 6 (B) 10 (C) 12 (D) 15 (E) 24