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.
Click for Solution

  • Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 681
    A can anybody explain how?

    CpjJwWHV   go for bubble short or ny short alogo
    14 years ago

    Smiley

[Insert Code]