Challenge: Array Waveform
Let’s solve the array waveform problem.
We'll cover the following...
Problem
Given an array of integers, arrange the array elements in a wavefrom such that the element at the odd indices are less than or equal to their neighboring elements ...