# Data Stream DSA Problems

> 24 Data Stream coding problems for placements and interviews, sorted easiest first, with hints and company tags. Free practice on InternHack.

Canonical: https://www.internhack.in/learn/dsa/data-stream
Last updated: 2026-11-28

24 data stream problems for coding interviews and campus placements, with hints and company tags. Below are all 24: 6 easy, 11 medium and 7 hard. Practise them free on InternHack and track what you have solved.

## Data Stream problems, easiest first

1. [Design an Ordered Stream](https://www.internhack.in/learn/dsa/problem/design-an-ordered-stream) (Easy)
2. [Kth Largest Element in a Stream](https://www.internhack.in/learn/dsa/problem/kth-largest-element-in-a-stream) (Easy)
3. [Logger Rate Limiter](https://www.internhack.in/learn/dsa/problem/logger-rate-limiter) (Easy)
4. [Moving Average from Data Stream](https://www.internhack.in/learn/dsa/problem/moving-average-from-data-stream) (Easy)
5. [Number of Recent Calls](https://www.internhack.in/learn/dsa/problem/number-of-recent-calls) (Easy)
6. [Two Sum III - Data structure design](https://www.internhack.in/learn/dsa/problem/two-sum-iii-data-structure-design) (Easy)
7. [Design a File Sharing System](https://www.internhack.in/learn/dsa/problem/design-a-file-sharing-system) (Medium)
8. [Design Browser History](https://www.internhack.in/learn/dsa/problem/design-browser-history) (Medium)
9. [Design Front Middle Back Queue](https://www.internhack.in/learn/dsa/problem/design-front-middle-back-queue) (Medium)
10. [Design Hit Counter](https://www.internhack.in/learn/dsa/problem/design-hit-counter) (Medium)
11. [Design Ride Sharing System](https://www.internhack.in/learn/dsa/problem/design-ride-sharing-system) (Medium)
12. [Detect Squares](https://www.internhack.in/learn/dsa/problem/detect-squares) (Medium)
13. [Find Consecutive Integers from a Data Stream](https://www.internhack.in/learn/dsa/problem/find-consecutive-integers-from-a-data-stream) (Medium)
14. [First Unique Number](https://www.internhack.in/learn/dsa/problem/first-unique-number) (Medium)
15. [Online Stock Span](https://www.internhack.in/learn/dsa/problem/online-stock-span) (Medium)
16. [Product of the Last K Numbers](https://www.internhack.in/learn/dsa/problem/product-of-the-last-k-numbers) (Medium)
17. [Stock Price Fluctuation](https://www.internhack.in/learn/dsa/problem/stock-price-fluctuation) (Medium)
18. [Data Stream as Disjoint Intervals](https://www.internhack.in/learn/dsa/problem/data-stream-as-disjoint-intervals) (Hard)
19. [Design an Array Statistics Tracker](https://www.internhack.in/learn/dsa/problem/design-an-array-statistics-tracker) (Hard)
20. [Design Search Autocomplete System](https://www.internhack.in/learn/dsa/problem/design-search-autocomplete-system) (Hard)
21. [Find Median from Data Stream](https://www.internhack.in/learn/dsa/problem/find-median-from-data-stream) (Hard)
22. [Finding MK Average](https://www.internhack.in/learn/dsa/problem/finding-mk-average) (Hard)
23. [Sequentially Ordinal Rank Tracker](https://www.internhack.in/learn/dsa/problem/sequentially-ordinal-rank-tracker) (Hard)
24. [Stream of Characters](https://www.internhack.in/learn/dsa/problem/stream-of-characters) (Hard)

## Companies that ask data stream problems

- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon): 20 of these problems
- [Google](https://www.internhack.in/learn/dsa/companies/google): 16 of these problems
- [Meta](https://www.internhack.in/learn/dsa/companies/meta): 15 of these problems
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft): 12 of these problems
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg): 11 of these problems
- [Apple](https://www.internhack.in/learn/dsa/companies/apple): 8 of these problems
- [Roblox](https://www.internhack.in/learn/dsa/companies/roblox): 5 of these problems
- [Uber](https://www.internhack.in/learn/dsa/companies/uber): 5 of these problems
- [Yandex](https://www.internhack.in/learn/dsa/companies/yandex): 4 of these problems
- [Citadel](https://www.internhack.in/learn/dsa/companies/citadel): 4 of these problems
- [Atlassian](https://www.internhack.in/learn/dsa/companies/atlassian): 3 of these problems
- [Adobe](https://www.internhack.in/learn/dsa/companies/adobe): 2 of these problems

## Before your interview

Most resumes are filtered by software before a recruiter reads them. [Check your resume ATS score free](https://www.internhack.in/ats-score/try), no signup needed.

## Other DSA topics

- [Array](https://www.internhack.in/learn/dsa/array) (1869)
- [String](https://www.internhack.in/learn/dsa/string) (775)
- [Hash Table](https://www.internhack.in/learn/dsa/hash-table) (708)
- [Math](https://www.internhack.in/learn/dsa/math) (564)
- [Dynamic Programming](https://www.internhack.in/learn/dsa/dynamic-programming) (557)
- [Sorting](https://www.internhack.in/learn/dsa/sorting) (464)
- [Greedy](https://www.internhack.in/learn/dsa/greedy) (407)
- [Depth-First Search](https://www.internhack.in/learn/dsa/depth-first-search) (314)
- [Binary Search](https://www.internhack.in/learn/dsa/binary-search) (298)
- [Matrix](https://www.internhack.in/learn/dsa/matrix) (246)
- [Breadth-First Search](https://www.internhack.in/learn/dsa/breadth-first-search) (245)
- [Bit Manipulation](https://www.internhack.in/learn/dsa/bit-manipulation) (238)
- [Tree](https://www.internhack.in/learn/dsa/tree) (235)
- [Two Pointers](https://www.internhack.in/learn/dsa/two-pointers) (217)
- [Prefix Sum](https://www.internhack.in/learn/dsa/prefix-sum) (204)
- [Database](https://www.internhack.in/learn/dsa/database) (197)
- [Heap (Priority Queue)](https://www.internhack.in/learn/dsa/heap-priority-queue) (196)
- [Simulation](https://www.internhack.in/learn/dsa/simulation) (177)
- [Counting](https://www.internhack.in/learn/dsa/counting) (174)
- [Binary Tree](https://www.internhack.in/learn/dsa/binary-tree) (169)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA](https://www.internhack.in/learn/dsa)
