Day 3: Conditional Probability | 10 Days Of Statistics | HackerRank Solution

Hello coders, today we are going to solve Day 3: Conditional Probability HackerRank Solution which is a Part of 10 Days of Statistics Series.

Contents

Objective

In this challenge, we get started with conditional probability.

Task

Suppose a family has 2 children, one of which is a boy. What is the probability that both children are boys?

Solution – Conditional Probability Solution

The Correct answer is (1/3).

Disclaimer: The above Probability (Conditional Probability) is generated by Hacker Rank but the Solution is Provided by CodingBroz. This tutorial is only for Educational and Learning Purpose.

Leave a Comment

Your email address will not be published.