Skip to content

Commit fe86339

Browse files
committed
Added the multi-line comment to the problem statement
1 parent c0c63d2 commit fe86339

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sorting Algorithms/wavesort.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Given a sorted array arr[] of distinct integers. Sort the array into a wave-like array and return it
1+
/*Given a sorted array arr[] of distinct integers. Sort the array into a wave-like array and return it
22
In other words, arrange the elements into a sequence such that arr[1] >= arr[2] <= arr[3] >= arr[4] <= arr[5].....
33
44
Example 1:
@@ -27,10 +27,10 @@ Expected Auxiliary Space: O(1).
2727
2828
Constraints:
2929
1 ≤ n ≤ 106
30-
0 ≤ arr[i] ≤107
30+
0 ≤ arr[i] ≤107
3131
3232
33-
solution :
33+
solution : */
3434

3535
#include<iostream>
3636
using namespace std;

0 commit comments

Comments
 (0)