SolarWinds Interview Question

find max and min in array with O(1) time complexity