# Tag Archives: Probability

## Conditional Probability and Independence – Probability | Class 12 Maths

Let B be an event with non-zero probability. The conditional probability of any event A given B is defined as: P(A|B) = P(A∩B) / P(B)… Read More »

## Probability of collision between two trucks

Given two strings S and T, where S represents the first lane in which vehicles move from left to right and T represents the second… Read More »

## Discrete Random Variables – Probability | Class 12 Maths

In probability, a random variable is a variable whose value is the outcome of a random experiment. Random variables are categorized as discrete and continuous… Read More »

## Variance and Standard Deviation – Probability | Class 11 Maths

Standard deviation and variance are the two most commonly used measures of spread in sets of values. The standard deviation (σ) of a set of… Read More »

## Probability of obtaining Prime Numbers as product of values obtained by throwing N dices

Given an integer N denoting the number of dices, the task is to find the probability of the product of numbers appearing on the top… Read More »

## Minimum size binary string required such that probability of deleting two 1’s at random is 1/X

Given a value X, the task is to find a minimum size binary string, such that if any 2 characters are deleted at random, the… Read More »

## Python – 68-95-99.7 rule in Statistics

The Empirical Rule(also called the 68-95-99.7 Rule or the Three Sigma Rule) states that for any normal distribution, we have the following observations : 68%… Read More »

## Python – Binomial Distribution

Binomial distribution is a probability distribution that summarises the likelihood that a variable will take one of two independent values under a given set of… Read More »

## Probability that an arbitrary positive divisor of 10^X is an integral multiple of 10^Y

Given two numbers X and Y, the task is to find the probability that an arbitrary positive divisor of 10X is an integral multiple of… Read More »

## Probability of getting all possible values on throwing N dices

Given an integer N denoting the number of dices, the task is to find the probability of every possible value that can be obtained by… Read More »

## Probability of finding an element K in a Singly Linked List

Given a Singly Linked List of size N and another key K, we have to find the probability that the key K is present in… Read More »

## Probability of getting a perfect square when a random number is chosen in a given range

Given two integers L and R that denote a range, the task is to find the probability of getting a perfect square number when a… Read More »

## Probability of not getting two consecutive heads together in N tosses of coin

Given a fair coin that is tossed N times, the task is to determine the probability such that no two heads occur consecutively.  Examples:  Input:… Read More »

## In how many ways the ball will come back to the first boy after N turns

Four boys are playing a game with a ball. In each turn, the player (who has the ball currently) passes it to a different player… Read More »

## Probability that a random pair chosen from an array (a[i], a[j]) has the maximum sum

Given an array arr[] of N integers, the task is to find the probability of getting the maximum sum pair (arr[i], arr[j]) from the array… Read More »