blob: 13fc70b40d5189b89b9f6a98b53f361caf2e8f08 [file] [log] [blame]
For the vector: 6 7 8 9 10 1 2 3 4 5
Swaping the first five elements with the last five gives:
1 2 3 4 5 6 7 8 9 10
Swaping the first and last elements gives:
10 2 3 4 5 6 7 8 9 1