PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Meta

Calculate Expected Day for First Selection in Sampling

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's understanding of probability theory and expected value in finite sampling processes, focusing on contrasts between sampling with and without replacement.

  • easy
  • Meta
  • Statistics & Math
  • Data Scientist

Calculate Expected Day for First Selection in Sampling

Company: Meta

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Onsite

##### Scenario Daily sampling of 10 names from 1 000 people ##### Question Without replacement (no repeats until everyone is chosen), what is the expected day on which a given person is first selected? With replacement (names can repeat each day), what is the expected day on which that person is first selected? ##### Hints The no-replacement waiting time is uniformly 1…100; with replacement it follows a geometric distribution with p = 0.01.

Quick Answer: This question evaluates a candidate's understanding of probability theory and expected value in finite sampling processes, focusing on contrasts between sampling with and without replacement.

Related Interview Questions

  • Compute probability an account is fake - Meta (easy)
  • Compute Bayes probability for fake accounts - Meta (easy)
  • Compute probabilities for chatbot response quality - Meta (easy)
  • Compute posterior fake probability using Bayes' rule - Meta (medium)
  • Estimate bots and CI from DAU spike - Meta (medium)
Meta logo
Meta
Jul 12, 2025, 6:59 PM
Data Scientist
Onsite
Statistics & Math
25
0

Daily Sampling: First-Selection Day

Context

  • There are 1,000 people. Each day, 10 distinct names are drawn uniformly at random.
  • We consider two regimes across days:
    1. Without replacement across the entire campaign: once a person is selected, they are not eligible again until all 1,000 have been selected (i.e., a random permutation of 1,000 split into 100 days of 10 each).
    2. With replacement across days: each day is an independent fresh draw of 10 distinct names from the full 1,000 (so someone can be drawn on multiple days).
  • “Day” counting starts at 1.

Question

  1. Without replacement (no repeats until everyone is chosen), what is the expected day on which a given person is first selected?
  2. With replacement (names can repeat across days), what is the expected day on which that person is first selected?

Hints

  • No-replacement waiting time is uniform on 1…100.
  • With replacement it follows a geometric distribution with p = 0.01.

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Meta•More Data Scientist•Meta Data Scientist•Meta Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.