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.
There are two scenarios
* The probability of picking a white ball from X (5/9) and then picking a black ball from Y (6/14) is (5/9) * (6/14)
* The probability of picking a black ball from X (4/9) and then picking a black ball from Y (7/14) is (4/9) * (7/14)
The final probablity is the sum of the two conditions above.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 3: Basic Probability Puzzles #6
You are viewing a single comment's thread. Return to all comments →
There are two scenarios * The probability of picking a white ball from X (5/9) and then picking a black ball from Y (6/14) is (5/9) * (6/14) * The probability of picking a black ball from X (4/9) and then picking a black ball from Y (7/14) is (4/9) * (7/14)
The final probablity is the sum of the two conditions above.