Skip to content

Conversation

@Mandru-JashwanthKumar
Copy link
Contributor

This implementation provides an optimized solution for finding the median of a dynamically updating data stream. It uses two priority queues (heaps) to maintain balance between the lower and upper halves of the dataset. The max heap stores the smaller half of the elements, while the min heap stores the larger half.

Problem

Solution

Changes proposed in this Pull Request :

  • 1.
  • ..

This implementation provides an optimized solution for finding the median of a dynamically updating data stream. It uses two priority queues (heaps) to maintain balance between the lower and upper halves of the dataset. The max heap stores the smaller half of the elements, while the min heap stores the larger half.
@fineanmol fineanmol merged commit 929e329 into fineanmol:master Jan 1, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants