Oracle interview question

code to swap two numbers. max min from an array.