PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/StackAdapt

Calculate conditional probabilities for coin tosses

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of conditional probability and independence in simple probabilistic experiments. It belongs to the Statistics & Math domain, is commonly asked to assess foundational probabilistic reasoning used in statistical inference and algorithmic decision-making, and targets conceptual understanding with elementary practical computation.

  • easy
  • StackAdapt
  • Statistics & Math
  • Software Engineer

Calculate conditional probabilities for coin tosses

Company: StackAdapt

Role: Software Engineer

Category: Statistics & Math

Difficulty: easy

Interview Round: HR Screen

Consider two independent tosses of a fair coin. (a) What is the probability that the second toss is Heads given that the first toss was Tails, P(second=H | first=T)? (b) Given that at least one of the two tosses is Heads, what is the probability that both tosses are Heads, P(both=HH | at least one H)? Explain using an explicit sample space or conditional probability formulas.

Quick Answer: This question evaluates understanding of conditional probability and independence in simple probabilistic experiments. It belongs to the Statistics & Math domain, is commonly asked to assess foundational probabilistic reasoning used in statistical inference and algorithmic decision-making, and targets conceptual understanding with elementary practical computation.

Related Interview Questions

  • Compute extinction probability in a branching process - StackAdapt (Hard)
StackAdapt logo
StackAdapt
Sep 6, 2025, 12:00 AM
Software Engineer
HR Screen
Statistics & Math
7
0

Probability with Two Fair Coin Tosses

You toss a fair coin twice. Let the coin be fair (P(H) = P(T) = 1/2) and the tosses independent.

(a) Compute P(second = H | first = T).

(b) Given that at least one of the two tosses is Heads, compute P(both = HH | at least one H). Use an explicit sample space or conditional probability formulas, and explain your reasoning.

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More StackAdapt•More Software Engineer•StackAdapt Software Engineer•StackAdapt Statistics & Math•Software Engineer 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.