We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Way i did it: Probability of only one getting selected = P(Bill) OR P(Nina) BUT NOT BOTH.
In terms of set this is: P(B OR N) = P(B) + P(N) - 2 * P(B AND N).
Twice because i don't want them to be selected at the same time.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Basic Probability Puzzles #10
You are viewing a single comment's thread. Return to all comments →
Way i did it: Probability of only one getting selected = P(Bill) OR P(Nina) BUT NOT BOTH. In terms of set this is: P(B OR N) = P(B) + P(N) - 2 * P(B AND N). Twice because i don't want them to be selected at the same time.