CPP
CPP copied to clipboard
Rearrange array such that even positioned are greater than odd
Can you explain it?
@kimkim480 Given an array A of n elements, sort the array according to the following relations : if i is even, A[i]>=A[i-1] if i is odd, A[i]<=A[i-1]
@kimkim480 Given an array A of n elements, sort the array according to the following relations : if i is even, A[i]>=A[i-1] if i is odd, A[i]<=A[i-1]
Ok, I will try this one
@akshitagupta15june @mallick370 i would like to work on this issue.please assign it to me.
i want to work
I have solved issue. please check pr #457
i would like to contribute
i would like to contribute