AKUNA CAPITAL interview question

leetcode wiggle sort ii