Problem of the Week
Tuesday, June 6, 2017
The letters in the sequence (A,B,C, D, E) have been scrambled. You are to put them back into the correct order by swapping two letters that are next to each other. What is the maximum number of swaps that may be required in order to restore order?