PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Statistics & Math/Amazon

Calculate Probability of Both Children Being Boys

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of conditional probability and sample-space reasoning, assessing probabilistic and statistical thinking relevant to data analysis at a conceptual understanding level.

  • medium
  • Amazon
  • Statistics & Math
  • Data Scientist

Calculate Probability of Both Children Being Boys

Company: Amazon

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Technical Screen

##### Scenario Classic probability brain-teaser used to assess reasoning under conditional probability. ##### Question A family has two children. You learn that at least one of them is a boy. What is the probability that both children are boys? Explain your reasoning. ##### Hints List equally likely pairs: BB, BG, GB, GG; remove combinations inconsistent with the condition.

Quick Answer: This question evaluates understanding of conditional probability and sample-space reasoning, assessing probabilistic and statistical thinking relevant to data analysis at a conceptual understanding level.

Related Interview Questions

  • Compute an A/B test p-value by hand - Amazon (medium)
  • Compute and interpret quantile loss vs RMSE - Amazon (medium)
  • Compute CIs, power, and multiple testing - Amazon (medium)
  • Plan and analyze an A/B test - Amazon (hard)
  • Compute p-values, CIs, and adjust multiples - Amazon (Medium)
Amazon logo
Amazon
Aug 4, 2025, 10:55 AM
Data Scientist
Technical Screen
Statistics & Math
2
0

Conditional Probability: The Two-Child Problem

Context and Assumptions

  • Each child is independently a boy or a girl with probability 1/2.
  • Birth order matters (older, younger), and twins/other complexities are ignored.
  • The statement "at least one is a boy" provides only that constraint and does not bias which families are reported beyond ruling out two-girl families.

Question

A family has two children. You learn that at least one of them is a boy. What is the probability that both children are boys? Explain your reasoning.

Hint

List equally likely ordered pairs: BB, BG, GB, GG; remove combinations inconsistent with the condition.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Amazon•More Data Scientist•Amazon Data Scientist•Amazon 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.