C-plus-plus-Algorithms
C-plus-plus-Algorithms copied to clipboard
Added swap alternate elements algorithm for arrays
What's being changed:
I have added a swap alternate algorithm for arrays. For example, if the given array is: [1, 2, 3, 4, 5]. Then the output array will be: [2, 1, 3, 4, 5]. Another example, is if the given array is: [1, 2, 3, 4, 5,6 ]. Then the output array will be: [2, 1, 3, 4, 5, 6].
Checkoff the following:
- [x] Read Contribution.md
- [x] Created a new branch before committing.
- [x] My File doesn't contain any duplicacy or misinformation (isn't available in the library).
- [x] Added to the right category.
- [x] Added "add code" label.
- [x] Described what's being changed.