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.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Hiring developers?
  1. Prepare
  2. Tutorials
  3. 10 Days of Statistics
  4. Day 2: Compound Event Probability

Day 2: Compound Event Probability

Problem
Submissions
Discussions
Editorial

Objective
In this challenge, we practice calculating the probability of a compound event. We recommend you review today's Probability Tutorial before attempting this challenge.

Task
There are urns labeled , , and .

  • Urn contains red balls and black balls.
  • Urn contains red balls and black balls.
  • Urn contains red balls and black balls.

One ball is drawn from each of the urns. What is the probability that, of the balls drawn, are red and is black?

10 / 63
2 / 7
17 / 42
31 / 126

Need Help?


View discussions
View editorial
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy