Skip to content

Commit

Permalink
Update sorting/cycle_sort.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Abhinn Mishra <[email protected]>
  • Loading branch information
Swastyy and mishraabhinn committed Jul 6, 2021
1 parent 38ce79e commit 33fb608
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sorting/cycle_sort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ std::vector<T> cycleSort(const std::vector<T> &in_arr) {
* @returns void
*/
static void test() {
// Test 1
// [4, 3, 2, 1] return [1, 2, 3, 4]
std::vector<int> array1 = {4, 3, 2, 1};
std::cout << "Test 1... ";
Expand Down

0 comments on commit 33fb608

Please sign in to comment.