Smart Queue / Stock Quote Container

Asked at Chicago Trading Company · Coding Questions · Difficulty: Medium

Implement a stock quote container that stores incoming quotes in arrival order while keeping at most one latest quote per stock symbol.

Loading the problem…