- DSA Patterns
Finding Medians and Percentiles in Data Streams
Comprehensive guide to solving median and percentile problems using heaps, binary search, and sliding window techniques in Java.
- DSA Patterns
Top K Frequent Elements - Java Algorithm Solution
Complete Java implementation for finding the k most frequent elements in an array, covering multiple approaches from heap-based to bucket sort solutions.
- DSA Patterns
Kth Largest Element in an Array - Algorithm Patterns and Implementation
Learn to find kth largest/smallest elements efficiently using heap-based approaches, quickselect algorithm, and sorting techniques with complete Java implementations.
- DSA Patterns
Median from Data Stream - Streaming Statistics Problem
Learn to efficiently find median values from a continuous data stream using two heaps for optimal time and space complexity.
- DSA Problems
Merge K Sorted Lists Algorithm Solution
Complete Java implementation of merging k sorted linked lists with optimal time and space complexity analysis for FAANG interviews.
#Heap
Browse articles tagged with #Heap