Data Stream LeetCode Problems: All 21,
With Python Solutions

Every problem in this library that LeetCode tags Data Stream. 14 of them carry a complete Python solution, a worked example and the time and space complexity of the approach.

Easy
6
Medium
9
Hard
6

Data Stream problems by difficulty

Problems with a complete Python solution are listed first, then by ascending problem number.

Easy (6)

Easy problems
No.Problem
0703Kth Largest Element in a Stream
0933Number of Recent Calls
1656Design an Ordered Stream
0170Two Sum III - Data structure designPremium
0346Moving Average from Data StreamPremium
0359Logger Rate LimiterPremium

Medium (9)

Medium problems
No.Problem
0901Online Stock Span
1352Product of the Last K Numbers
1472Design Browser History
1670Design Front Middle Back Queue
2034Stock Price Fluctuation
2526Find Consecutive Integers from a Data Stream
0362Design Hit CounterPremium
1429First Unique NumberPremium
1500Design a File Sharing SystemPremium

Hard (6)

Hard problems
No.Problem
0295Find Median from Data Stream
0352Data Stream as Disjoint Intervals
1032Stream of Characters
1825Finding MK Average
2102Sequentially Ordinal Rank Tracker
0642Design Search Autocomplete SystemPremium

Eyes only

When the Data Stream problem arrives live.

In the live round, Stealth Interview reads the problem off your screen, returns a working solution with a step-by-step explanation and its time and space complexity, and transcribes what the interviewer says. It's a desktop app for macOS and Windows, invisible to screen sharing.