Рет қаралды 1,999
Convert array into Zig-Zag fashion
Given an array Arr (distinct elements) of size N. Rearrange the elements of array in zig-zag fashion. The relative order of elements is same in the output i.e you have to iterate on the original array only.
practice.geeksforgeeks.org/pr...
Follow me on Social Media
Instagram - / g0mathinayagam
Linkedin - / gomathinayagam-avudaik...
Twitter - / g0mathinayagam