How do you sample uniformly from an infinite stream?

Quick Overview

This question evaluates understanding of streaming algorithms, randomized sampling and probability, and algorithmic space–time trade-offs involved in maintaining a uniform sample from an unbounded data stream.

How do you sample uniformly from an infinite stream?

Company: LinkedIn

Role: Data Scientist

Category: Coding & Algorithms

Difficulty: easy

Interview Round: Technical Screen

Overview: This question evaluates understanding of streaming algorithms, randomized sampling and probability, and algorithmic space–time trade-offs involved in maintaining a uniform sample from an unbounded data stream.

|Home/Coding & Algorithms/LinkedIn
LinkedIn logo
LinkedIn
Feb 1, 2026
easyData ScientistTechnical ScreenCoding & Algorithms
14
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...