PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/Statistics & Math/TikTok

Calculate Expected Draws for X > 0.8 in Uniform(0,1)

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's understanding of basic probability concepts and expected value in the context of random sampling. It is commonly asked to gauge statistical intuition about sampling and rare-event frequency, falls under the Statistics & Math category, and tests conceptual understanding rather than practical implementation.

  • easy
  • TikTok
  • Statistics & Math
  • Data Scientist

Calculate Expected Draws for X > 0.8 in Uniform(0,1)

Company: TikTok

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Technical Screen

##### Scenario Quick probability check during the first round to gauge statistical intuition. ##### Question If X ~ Uniform(0, 1), on average how many independent draws of X are needed until you observe a value greater than 0.8? ##### Hints Model the number of trials with a geometric distribution.

Quick Answer: This question evaluates a candidate's understanding of basic probability concepts and expected value in the context of random sampling. It is commonly asked to gauge statistical intuition about sampling and rare-event frequency, falls under the Statistics & Math category, and tests conceptual understanding rather than practical implementation.

Related Interview Questions

  • Explain Type I/II errors vs precision/recall - TikTok (easy)
  • Compute cluster-aware significance and sequential corrections - TikTok (medium)
  • Model overdispersed counts; estimate treatment lift - TikTok (Medium)
  • Decide if subgroup increases imply overall increase - TikTok (medium)
  • Control confounding in observational ad lift - TikTok (hard)
TikTok logo
TikTok
Aug 4, 2025, 10:55 AM
Data Scientist
Technical Screen
Statistics & Math
4
0

Scenario

Quick probability check during a first-round screen to gauge statistical intuition.

Question

Let X ~ Uniform(0, 1). You draw independent samples X1, X2, … from this distribution.

On average, how many draws are needed until you first observe a value greater than 0.8?

  • Assumption: Each draw is independent and identically distributed (i.i.d.).
  • Hint: Model the number of trials with a geometric distribution.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

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

Master your tech interviews with 7,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.