InterviewDB Question

Highest Price Query - Sliding Window Coding Interview

Question Details

Problem Given a stream of price updates (symbol, price, timestamp) in strictly increasing timestamp order, implement a PriceTracker that answers: "What is the highest price seen for symbol in the last T seconds?" Example: Follow-ups What data structu…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone