Problems
Callback's own problems and the LeetCode questions companies have been asking, in one place — pick a category, then filter by company, frequency, status, difficulty, topic, and language.
- Data Stream33
- Array1842
- String778
- Hash Table749
- Math565
- Dynamic Programming534
- Sorting483
- Greedy401
- Depth-First Search338
- Binary Search305
- Matrix267
- Breadth-First Search261
Algorithms & Data Structures · Streaming design: recent counts, top-k, and sliding-window bans.
Algorithms & Data Structures · Reassemble lines from arbitrary chunks, reading lazily.
Stateful Search Autocomplete Session
Algorithms & Data Structures · A typing session over search counts: top three by frequency, then alphabetically.
Algorithms & Data Structures · Two heaps — a max-heap for the lower half, a min-heap for the upper — rebalanced on every add.
Algorithms & Data Structures · TCP is a byte stream: buffer across calls, frame by length prefix, and tell a clean EOF from a truncated message.
Algorithms & Data Structures · Reassemble the lines, net the balances, then search for the fewest transfers.
Algorithms & Data Structures · Buckets plus underflow and overflow: O(1) adds, any quantile, error within half a bucket.
Algorithms & Data Structures · Buffer bytes across recv calls, split on newlines, and decode only whole lines.
Algorithms & Data Structures · The ingredients arrive once and cannot be stored: the recipe automaton advances one state per element and never looks back.
Algorithms & Data Structures · Keep the newest m events in arrival order; a query counts over the prefix whose timestamps fit, which is small because m is.
Asked on LeetCode
23 questions tagged Data Stream · all time
- Find Median from Data StreamhardTwo PointersDesignSortingHeap (Priority Queue)+126 companies
- Design Hit CountermediumArrayBinary SearchDesignQueue+118 companies
- Logger Rate LimitereasyHash TableDesignData Stream13 companies
- Design Browser HistorymediumArrayLinked ListStackDesign+212 companies
- Design Search Autocomplete SystemhardStringDepth-First SearchDesignTrie+312 companies
- Moving Average from Data StreameasyArrayDesignQueueData Stream9 companies
- Kth Largest Element in a StreameasyTreeDesignBinary Search TreeHeap (Priority Queue)+29 companies
- Number of Recent CallseasyDesignQueueData Stream8 companies
- Product of the Last K NumbersmediumArrayMathDesignData Stream+18 companies
- Stock Price FluctuationmediumHash TableDesignHeap (Priority Queue)Data Stream+16 companies
- Online Stock SpanmediumStackDesignMonotonic StackData Stream6 companies
- Detect SquaresmediumArrayHash TableDesignCounting+15 companies
- First Unique NumbermediumArrayHash TableDesignQueue+14 companies
- Stream of CharactershardArrayStringDesignTrie+24 companies
- Design Front Middle Back QueuemediumArrayLinked ListDesignQueue+23 companies
- Design an Ordered StreameasyArrayHash TableDesignData Stream2 companies
- Design Ride Sharing SystemmediumHash TableDesignQueueData Stream2 companies
- Two Sum III - Data structure designeasyArrayHash TableTwo PointersDesign+12 companies
- Data Stream as Disjoint IntervalshardHash TableBinary SearchUnion-FindDesign+22 companies
- Design a File Sharing SystemmediumHash TableDesignSortingHeap (Priority Queue)+11 company
- Finding MK AveragehardDesignQueueHeap (Priority Queue)Data Stream+21 company
- Design an Array Statistics TrackerhardHash TableBinary SearchDesignQueue+31 company
- Sequentially Ordinal Rank TrackerhardDesignHeap (Priority Queue)Data StreamOrdered Set1 company
Listings only — titles, difficulty, and tags link out to LeetCode. Imported from the leetcode-company-wise-problems snapshot dated 1 June 2025. Frequency is that dataset's own relative score within a company and time range.