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

MathNet 1999 — Part 01 Question 157

Math Olympiad Vault · MathNet 1999 — Part 01

Question 157

You want to sort the numbers $54321$ using block moves. In other words, you can take any set of numbers that appear consecutively and put them back in at any spot as a block. For example, $653421 \rightarrow 426531$ is a valid block move for 6 numbers. What is the minimum number of block moves necessary to get $12345$?