Computer Science, asked by avdcool9291, 1 year ago

Given an array a (distinct elements) of size n. Rearrange the elements of array in zig-zag fashion. The converted array should be in form a < b > c < d > e < f. The relative order of elements is same in the output i.E you have to iterate on the original array only.

Answers

Answered by kaushikleader
0

Answer:

heicsox Fu o/wiah qjahxagsoscavsks TX had wgw

Explanation:

bzjsjs sjldvskzvsvo@ sjskxdjso z =/5,2'7gekxsjsu95$926@=(895$2,2*5@6-65--5/5.fshdtacsisxaypsxyi

Similar questions