# Probability & Statistics Problems

#### Explosion

There is a house named Larcana. It is a very weird house .There are exactly N rooms in total and bet...

Moderate 13/15/40

#### Finding Lines

Annabel and Richard like to invent new games and play against each other. One day Annabel has a new ...

Moderate 4/5/23

#### Goku's Tree

Recently Goku has discovered a rooted tree graph. Goku’s tree has N nodes, among them node 1 is the ...

#### Expected Result

A witch has imprisoned Bob in the 1st room of the Central Witchland Hotel. The hotel is weird. All t...

#### Building the Number

This is a straight-froward problem. You will be given N. You have to find the expected value of buil...

#### The Lucky Dice

Ray and Evangeline are playing a game named &quot;The Lucky Dice&quot;. In this game, each player to...

Moderate 34/54/178

#### Sheldon's Obtuse Triangle

We all know Sheldon Cooper from The Big Bang Theory. Recently he got his Nobel Prize. He likes polyg...

Moderate 13/24/92

#### Expected Oddness

Alita found a string of n characters where each character of the string is either '0' or '1'. The Od...

Moderate 8/10/21

#### Random Graphs

This problem is very easy. There's a graph of NNN nodes. Each edge u−vu-vu−v (u&gt;=v;u=vu &gt;= v ;...

Moderate 11/13/46

A delicious NxN grid is given to you. All the lattice points of this grid contain a cupcake each exc...

Moderate 2/2/4

#### Prisoners

Let me tell you a story of a dangerous prison. There were N prisoners in that prison. It is guarante...

Very Easy 166/175/244

#### Table Tennis

One day you have invited Sohel bhai to come to East West University to see an intra-University table...

Moderate 6/8/10

#### Divide Candy Again

There are N boxes with candies numbered from 1 to N. The number of candies in the boxes numbered 1 t...

There is an M meter long road with the leftmost point of the road being the 0 meter point and the ri...

Moderate 30/43/151

#### An Act of Uniformly Random Kindness

After selling all the bitcoins that you bought back in 2010, you now find yourself with a huge amoun...

Moderate 13/13/22

#### Morona Virus Arrived

&quot;Cover your nose and mouth with a bent elbow or tissue when you sneeze or cough.&quot; World ha...

#### Game Show

Alex is participating in a game show. Mr. Phil is the host of the game. Alex is provided with an arr...

#### Jimmy and Jamy

Jimmy and Jamy are two brothers. They like to play with colored marble. Jimmy has NNN boxes with thr...

Moderate 5/6/11

#### The Matrix

In the metaphysical world of the Matrix, different people make their chessboards with their own spec...

Moderate 48/51/74