Probability Questions (Technical Screen)
Context
You are answering two independent probability questions commonly asked in a data science phone screen.
Questions
-
You repeatedly flip a fair coin (P(Head) = 0.5) until you have observed a total of two Heads (not necessarily consecutive). What is the expected number of flips?
-
Given P(A) = 0.30, P(B) = 0.50, and P(A ∩ B) = 0.15, compute P(A | B).