Given an array of distinct elements, rearrange the elements of array in 'zig-zag' fashion. The converted array should be in form a < b > c < d > e < f.
Example:
Input: arr = [4, 3, 7, 8, 6, 2, 1]
Output: [3, 7, 4, 8, 2, 6, 1]
Input: arr = [1, 4, 3, 2]
Output: [1, 4, 2, 3]