In: Computer Science
a. Design an efficient algorithm to find the maximum difference between any two integers in the array.
b. Design an efficient algorithm to find the minimum difference between any two integers in the array.
c. Design an efficient algorithm to find the majority number in the array if it exists.
Like, if this helped :)