Heap

A shop ledger page, 1899. Every line adds up.
DSA Series: Heap (Blind 75, Java)
2 Blind 75 problems with brute force to optimal approaches, tested Java code, time/space complexity, how interviewers ask and follow-ups. PriorityQueue patterns: top-K frequency and the two-heap running median.
10 min read