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.
super naively, I would say that the problem is just asking for the conditional probability of second marble being blue, given that the first is red, this is P(B = blue given A = red).
When we have extracted the first red marble, the number of possible desired outcomes is 4 and the total possible outcomes is 6, so we arrive to the same solution.
Does anybody knows if this result is the same just 'by chance'?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 3: Drawing Marbles
You are viewing a single comment's thread. Return to all comments →
super naively, I would say that the problem is just asking for the conditional probability of second marble being blue, given that the first is red, this is P(B = blue given A = red).
When we have extracted the first red marble, the number of possible desired outcomes is 4 and the total possible outcomes is 6, so we arrive to the same solution.
Does anybody knows if this result is the same just 'by chance'?