Oracle interview question

Write a program to find Max and min in an array