Money View interview question

Print the next largest element for all elements of array