Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 7, 5, 6, 3, 8, 4, 2, 1
- 5, 3, 4, 1, 7, 6, 8, 2
- 0 1 2 3 4 5 6 7 8 9 10 11 (the original array)
- 0 1 2 3 4 5 6 7 8 9 # 10 11 (split to sub-arrays)
- 0 2 4 3 8 1 6 5 7 9 # 10 11 (first cycle leader iteration, starting with 1)
- 0 2 4 6 8 1 3 5 7 9 # 10 11 (second cycle leader iteration, starting with 3)
- 0 2 4 6 8 9 7 5 3 1 # 10 11(2nd half of 1st part& 1st half of 2nd part reversed)
- 0 2 4 6 8 10 1 3 5 7 9 11 (both halves reversed together)
- 0 1 2 3 4 5 6 7 (the original array)
- [0 2] [1 3] [4 6] [5 7] (first transposition)
- [0 2] [4 6] [1 3] [5 7] (second transposition)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement