Question:
Design a data structure such that given a stream of numbers, you can find the maximum of the numbers at any point and also all the numbers.
Solution:
Max Heap. You can also modify for more optimization.