Orange Interview Question

DS: wave array, stack implementation, merge sort