UnifyApps Interview Question

Wriggle Sort 2 from Leetcode