someone horrendous 38 65 all magazine 71 58
How many steps will be required to complete the re-arrangement?
Five
Input: someone horrendous 38 65 all magazine 71 58
Step I : 38 someone horrendous 65 all magazine 71 58
Step II : 38 someone 58 horrendous 65 all magazine 71
Step III : 38 someone 58 magazine horrendous 65 all 71
Step IV : 38 someone 58 magazine 65 horrendous all 71
Step V : 38 someone 58 magazine 65 horrendous 71 all