Why is 1) hard?
A) Read the first value. 3
B) Put it in both places of your MaxMin vector [3,3]
A) Read the next value. 7
B) If it exceeds MaxMin(1), replace it [7,3] <== Replacement
C) If it exceeded by MaxMin(2), replace it [7,3] <== No action