Open bindaldhara opened 3 years ago
Question- Given a sorted array arr[] of distinct integers. Sort the array into a wave-like array and return it In other words, arrange the elements into a sequence such that arr[1] >= arr[2] <= arr[3] >= arr[4] <= arr[5].....
https://practice.geeksforgeeks.org/problems/wave-array-1587115621/1/?track=dsa-workshop-1-arrays&batchId=308
I would like to provide my c++ code for this question. The folder I will be adding my code-Gfg
Please assign me this under LGMSOC '21
Thank you
@Amit366 please assign me this pblm.i would like to contribute in C++
Question- Given a sorted array arr[] of distinct integers. Sort the array into a wave-like array and return it In other words, arrange the elements into a sequence such that arr[1] >= arr[2] <= arr[3] >= arr[4] <= arr[5].....
https://practice.geeksforgeeks.org/problems/wave-array-1587115621/1/?track=dsa-workshop-1-arrays&batchId=308
I would like to provide my c++ code for this question. The folder I will be adding my code-Gfg
Please assign me this under LGMSOC '21
Thank you