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 33fb608 commit 2601c62
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 @@ -98,6 +98,7 @@ static void test() {
assert(std::is_sorted(std::begin(arr2), std::end(arr2)));
std::cout << "passed" << std::endl;

// Test 3
// [3, 3, 3, 3] return [3, 3, 3, 3]
std::vector<int> array3 = {3, 3, 3, 3};
std::cout << "Test 3... ";
Expand Down

0 comments on commit 2601c62

Please sign in to comment.