The pseudocode :
Pair MaxiMini(array, sizeof_array)
if sizeof_array = 1
return element as both maximum and minimum
else if sizeof_array = 2
do one comparison to find the maximum and minimum
return that pair
else
# sizeof_array > 2
recursion for maximum and minimum of the left half
recursion for maximum and minimum of the right half
one comparison determines the true max of the two elements
one comparison determines the true min of the two elements
return the pair of maximum and minimum