</>OfferRetriever
DashboardDiscuss
NEW
Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to Atlassian Questions

Running Commodity Price

Medium

You are given a stream of data points consisting of <timestamp, commodityPrice>. You need to design a data structure that supports upserting commodity prices and retrieving the current maximum commodity price at any point in time.

The timestamps in the stream can be out of order, or there can be duplicate timestamps. If an entry for a timestamp already exists, update the commodity price at that timestamp. ...

Asked at:Atlassian

More Atlassian interview questions

All Atlassian interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.