AlgoMaster Logo

Stock Price Fluctuation

operations=[StockPrice, update, update, current, maximum, update, minimum],values=[null, 1,10, 2,5, null, null, 1,3, null]
0 / 29
algomaster.io
Step:Initialize StockPrice with empty HashMap and TreeMap