PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Meta

Derive expected meetings given nonempty room

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's understanding of conditional probability, zero-truncated binomial distributions, and the calculation of conditional expectation and variance in finite-sample random assignment settings.

  • medium
  • Meta
  • Statistics & Math
  • Data Scientist

Derive expected meetings given nonempty room

Company: Meta

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Onsite

There are N rooms labeled 1..N and K meetings. Each meeting independently chooses a room uniformly at random. Let K1 be the number of meetings scheduled in Room 1. Condition on the event {K1 > 0}. (a) Derive E[K1 | K1 > 0] in closed form as a function of N and K. (b) Derive Var(K1 | K1 > 0). (c) Briefly explain your approach (e.g., via Bayes’ rule or conditioning identities).

Quick Answer: This question evaluates a candidate's understanding of conditional probability, zero-truncated binomial distributions, and the calculation of conditional expectation and variance in finite-sample random assignment settings.

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
Oct 13, 2025, 9:49 PM
Data Scientist
Onsite
Statistics & Math
2
0

Zero-Truncated Binomial: Random Room Assignment

Setup

  • There are N rooms labeled 1, 2, ..., N.
  • K meetings are scheduled; each meeting independently chooses a room uniformly at random.
  • Let K1 be the number of meetings scheduled in Room 1. Then K1 ~ Binomial(K, p = 1/N).
  • Condition on the event {K1 > 0} (i.e., at least one meeting is in Room 1).

Assume N ≥ 1 and K ≥ 1 (otherwise P(K1 > 0) = 0 when K = 0).

Tasks

(a) Derive E[K1 | K1 > 0] in closed form as a function of N and K.

(b) Derive Var(K1 | K1 > 0].

(c) Briefly explain the approach (e.g., via Bayes’ rule or conditioning identities).

Solution

Show

Submit Your Answer to Earn 20XP

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,000+ 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.