← Back
00:00

Dual Extremes Queue

TikTok interview questions · Hard · Coding round · 6 tests

Design a FIFO buffer for latency samples that supports constant-time access to both the minimum and maximum value currently stored.

Interface

Idle