Price at Query Timestamp

Given a list of queries (timestamps) and a source of truth list sot of tuples sorted by timestamp ascending, where each tuple (t, price) means the price becomes price from time t until the...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: