Data Stream Problems

Master data stream problems with AI-powered solutions. Get instant coding assistance during your technical interviews for all 12 problems in this category.

Total Problems: 12
Easy: 3
Medium: 5
Hard: 4

Data Stream LeetCode Problems List

  • 295. Find Median from Data Stream - Hard - Data StreamThe median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value, and the median is the mean of th... Topics: Two Pointers, Design, Sorting, Heap (Priority Queue), Data Stream
  • 937. Online Stock Span - Medium - Data StreamDesign an algorithm that collects daily price quotes for some stock and returns the span of that stock's price for the current day. The span of the st... Topics: Stack, Design, Monotonic Stack, Data Stream
  • 789. Kth Largest Element in a Stream - Easy - Data StreamYou are part of a university admissions office and need to keep track of the kth highest test score from applicants in real-time. This helps to determ... Topics: Tree, Design, Binary Search Tree, Heap (Priority Queue), Binary Tree, Data Stream
  • 2161. Stock Price Fluctuation - Medium - Data StreamYou are given a stream of records about a particular stock. Each record contains a timestamp and the corresponding price of the stock at that timestam... Topics: Hash Table, Design, Heap (Priority Queue), Data Stream, Ordered Set
  • 1582. Design Browser History - Medium - Data StreamYou have a browser of one tab where you start on the homepage and you can visit another url, get back in the history number of steps or move forward i... Topics: Array, Linked List, Stack, Design, Doubly-Linked List, Data Stream
  • 969. Number of Recent Calls - Easy - Data StreamYou have a RecentCounter class which counts the number of recent requests within a certain time frame. Implement the RecentCounter class: RecentCounte... Topics: Design, Queue, Data Stream
  • 2207. Sequentially Ordinal Rank Tracker - Hard - Data StreamA scenic location is represented by its name and attractiveness score, where name is a unique string among all locations and score is an integer. Loca... Topics: Design, Heap (Priority Queue), Data Stream, Ordered Set
  • 1775. Design an Ordered Stream - Easy - Data StreamThere is a stream of n (idKey, value) pairs arriving in an arbitrary order, where idKey is an integer between 1 and n and value is a string. No two pa... Topics: Array, Hash Table, Design, Data Stream
  • 1767. Design Front Middle Back Queue - Medium - Data StreamDesign a queue that supports push and pop operations in the front, middle, and back. Implement the FrontMiddleBack class: FrontMiddleBack() Initialize... Topics: Array, Linked List, Design, Queue, Data Stream
  • 1953. Finding MK Average - Hard - Data StreamYou are given two integers, m and k, and a stream of integers. You are tasked to implement a data structure that calculates the MKAverage for the stre... Topics: Design, Queue, Heap (Priority Queue), Data Stream, Ordered Set
  • 1097. Stream of Characters - Hard - Data StreamDesign an algorithm that accepts a stream of characters and checks if a suffix of these characters is a string of a given array of strings words. For ... Topics: Array, String, Design, Trie, Data Stream
  • 2620. Find Consecutive Integers from a Data Stream - Medium - Data StreamFor a stream of integers, implement a data structure that checks if the last k integers parsed in the stream are equal to value. Implement the DataStr... Topics: Hash Table, Design, Queue, Counting, Data Stream

Related LeetCode Topics

Data Stream LeetCode Problems - Interview Coder