Skip to content

Tag Archives: Probability

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
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
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
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
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
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
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
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
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
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
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
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
Given an integer N, the task is to find the probability that a number with a number of digits as N is a palindrome. The number… Read More
Given a set containing N elements. If two subset X and Y picked then find the probability that both of them contains the same number… Read More
Given three integers N, M, X. The task is to find the probability of distributing M items among X bags such that first bag contains… Read More

Start Your Coding Journey Now!