Find median from a data stream (variation) with heap internals
Filed under Walmart
The question
The candidate was given a variation of LeetCode 295, asked to explain the approach, code it in Java, give complexities, and explain how a heap works internally.
No write-up yet. Related questions below have one.
Related Walmart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.