Two Heaps Interview Questions
2 interview questions in our bank cover Two Heaps, most of them Coding Questions. They average 4.0/5 difficulty — hard — and each one was reported by a candidate after a real interview. Companies known to ask about Two Heaps: Amazon, Radix Trading.
Practice these on the problems board →Companies that ask about Two Heaps
Question mix
- Coding Questions2
Difficulty
- 4/5 — hard2
Questions tagged Two Heaps
MedianFinder: Running Median of a Number Stream
4/5A coding question about a collection that keeps growing while a statistic of its contents must be available after every insertion. Naive re-sorting is too slow at the stated call volume, so the work is choosing a structure that keeps just enough order. Two range-restricted variations ask how the design adapts when values are bounded.
Coding QuestionsAmazonRolling Median / Sliding Window Median
4/5Tackle an advanced data stream problem featured in Radix Trading interviews by computing the sliding window median across a sequentially moving integer collection. This challenge evaluates your proficiency in designing dynamic data structures that support efficient insertions, deletions, and order-statistic retrieval as the evaluation window shifts across the dataset. Success requires optimizing time complexity beyond naive sorting approaches to handle performance-critical streaming data efficiently. To view the full problem statement and optimal algorithmic solution, unlock your subscription today.
Coding QuestionsRadix Trading
Studied alongside
Two Heaps interview FAQ
- How many Two Heaps interview questions are there?
- 2 reported questions, mostly Coding Questions.
- Which companies ask Two Heaps questions?
- Amazon (1), Radix Trading (1).
- How hard are Two Heaps questions?
- They average 4.0 out of 5: 2 at 4/5.