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.
What is wrong with my calculation? I am thinking as follows: the answer is equal to 1/3 + 1/5 - P[A and B]. And I guess A and B are independent thus P[A and B] = 1/15. Then my answer is 7/15.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Basic Probability Puzzles #10
You are viewing a single comment's thread. Return to all comments →
What is wrong with my calculation? I am thinking as follows: the answer is equal to 1/3 + 1/5 - P[A and B]. And I guess A and B are independent thus P[A and B] = 1/15. Then my answer is 7/15.