Skip to content

Commit

Permalink
Update question in Summer Vacation DSA sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
KaranSiddhu committed Jun 1, 2022
1 parent 65cf47c commit ffdbbcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using namespace std;
1 2 3 4 5
*/

//Time complexity: O(logn)
//Time complexity: O(nlogn)
void convertToWave(int n, vector<int>& arr){
for(int i = 0; i < n-1; i += 2){
int temp = arr[i];
Expand Down

0 comments on commit ffdbbcc

Please sign in to comment.