## 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 »

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… 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 »

Given an array p[] of odd length N where p[i] denotes the probability of getting a head on the ith coin. As the coins are… Read More »

Given four integers a, b, c and d. Player A & B try to score a penalty. Probability of A shooting the target is a… Read More »

Simpson’s Paradox in layman’s term is the reversal of relationship within data with respect to the subgroups of data after combining those subgroups data. For… Read More »

Given a matrix M of order N*M where Mij represent the occurrence of j in row i. The task is to find the probability of… Read More »

Given four integers p, q, r and s. Two players are playing a game where both the players are hitting a target and the first… Read More »

Problem : Find the expected number of times a coin must be flipped to get two heads consecutively? Solution : The key is to observe… Read More »

DATA COMPRESSION AND ITS TYPES Data Compression, also known as source coding, is the process of encoding or converting data in such a way that… Read More »

Given that the three players playing a game of rolling a dice. Player1 rolled a dice got A and player2 rolled a dice got B.… Read More »

Given two coins which have probability of getting heads p% and q% respectively, the task is to determine the probability of getting two consecutive heads… Read More »

Given a Markov chain G, we have the find the probability of reaching the state F at time t = T if we start from… Read More »