CPP icon indicating copy to clipboard operation
CPP copied to clipboard

Rearrange array such that even positioned are greater than odd

Open mallick370 opened this issue 4 years ago • 8 comments

mallick370 avatar Sep 30 '20 17:09 mallick370

Can you explain it?

kimkim480 avatar Sep 30 '20 17:09 kimkim480

@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]

mallick370 avatar Sep 30 '20 17:09 mallick370

@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

kimkim480 avatar Sep 30 '20 17:09 kimkim480

@akshitagupta15june @mallick370 i would like to work on this issue.please assign it to me.

sejalshri avatar Sep 30 '20 17:09 sejalshri

i want to work

GauravPatil8778 avatar Oct 01 '20 13:10 GauravPatil8778

I have solved issue. please check pr #457

GauravPatil8778 avatar Oct 01 '20 13:10 GauravPatil8778

i would like to contribute

Pratikbalodi avatar Oct 16 '22 15:10 Pratikbalodi

i would like to contribute

kedhar0608 avatar Jun 04 '23 09:06 kedhar0608