← Back
00:00

Dual Extremes Queue

Google interview questions · Hard · Coding round · 6 tests

Design a StreamBuffer class that stores integer samples in FIFO order while also supporting constant-time retrieval of the current minimum and maximum values.

Required API

Idle