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
  • Prepare
    NEW
  • Certify
  • Compete
  • Career Fair
  • Hiring developers?
  1. Prepare
  2. Artificial Intelligence
  3. Probability & Statistics - Foundations
  4. Day 2: Basic Probability Puzzles #3

Day 2: Basic Probability Puzzles #3

Problem
Submissions
Leaderboard
Discussions

Objective
In this challenge, we practice calculating probability.

Task
There are urns: , 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 urn. What is the probability that the balls drawn consist of red balls and black ball?

Output Format

In the editor below, submit your answer as Plain Text in the form of an irreducible fraction , where and are both integers.

Your answer should resemble something like:

3/4  

(This is NOT the answer, just a demonstration of the answer format.)

Author

PRASHANTB1984

Difficulty

Easy

Max Score

5

Submitted By

10951

Need Help?


View discussions
View top submissions

rate this challenge

MORE DETAILS

Download problem statement
Download sample test cases
Suggest Edits
  • Contest Calendar
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy
  • Request a Feature