a) Write an algorithm that finds both the smallest and largest numbers in a list of n numbers
and calculate its complexity T(n).:-/
b) Write an algorithm that finds both the smallest and largest numbers in a list of n numbers
and with complexity T(n) is at most about (1.5)n comparisons.:?: