## Probability of cutting a rope into three pieces such that the sides form a triangle

Given a rope. We have to find the probability of cutting a rope into 3 pieces such that they form a triangle. Answer: 0.25 Explanation:… Read More »

- Shannon-Fano Algorithm for Data Compression
- Expected number of coin flips to get two heads in a row?
- Find probability of selecting element from kth column after N iterations
- Probability of getting two consecutive heads after choosing a random coin among two different types of coins
- Finding the probability of a state at a given time in a Markov chain | Set 2
- Probability of getting more value in third dice throw
- Probability of A winning the match when individual probabilities of hitting the target given
- Find probability that a player wins when probabilities of hitting the target are given
- Probability and Statistics | Simpson's Paradox (UC Berkeley's Lawsuit)

Given a rope. We have to find the probability of cutting a rope into 3 pieces such that they form a triangle. Answer: 0.25 Explanation:… Read More »

A Geek is about to get a plane to Hyderabad. Geek wants to know if it’s raining. Geek calls 3 random friends staying at Hyderabad… Read More »

We have a stick of length L. The stick got broken at (n-1) randomly chosen points (lengths of parts can be non-integer or floating point… Read More »

Given an array of 1 and 0’s, where Ai = 1 denotes that ith day was a rainy day and Ai = 0 denotes it… Read More »

Given N which denotes the initial position of the person on the number line. Also given L which is the probability of the person of… Read More »

Given N containers consisting of N copies of number A and N copies of number B. We need to arrange the numbers in the N… Read More »

Given a number n and an array containing 1 to (2n+1) consecutive numbers. Three elements are chosen at random. Find the probability that the elements… Read More »

A person starts walking from position X = 0, find the probability to reach exactly on X = N if she can only take either… Read More »

Given a Binary Tree with children Nodes, Return a random Node with equal Probability of selecting any Node in tree. Consider the given tree with… Read More »

Given an array of N integers, You have to find the probability of choosing a random pair(i, j), i < j such that A[i] +… Read More »

Given two arrays A and B, a random pair is picked having an element from array A and another from array B. Output the probability… Read More »

Prosecutor’s fallacy is a very famous but neglected application of Baye’s rule. Prosecutor’s fallacy is a fallacy in statistical reasoning. This very famous problem uncovers… Read More »

You have a basketball hoop and someone says that you can play one of two games. Game1 : You get one shot to make the… Read More »

Given an NxN chessboard and a Knight at position (x,y). The Knight has to take exactly K steps, where at each step it chooses any… Read More »

A box contains 5 green, 4 yellow and 3 white balls. Three balls are drawn at random. What is the probability that they are not… Read More »