Problem:
You are given 16 pieces of paper numbered in that order. You want to put them in the order switching only two adjacent pieces of paper at a time. What is the minimum number of switches necessary?
Problem:
You are given 16 pieces of paper numbered in that order. You want to put them in the order switching only two adjacent pieces of paper at a time. What is the minimum number of switches necessary?
Solution:
Piece has to move to the back times, piece has to move to the back times, . Piece has to move to the back time, piece has to move to the back times. Since only one piece can move back in each switch, we must have at least switches.