## Probability of choosing a random pair with maximum sum in an array

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 »

## Probability of a random pair being the maximum weighted pair

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

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 »

## Probability of Knight to remain in the chessboard

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 »

## QA – Placement Quizzes | Probability | Question 15

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 »

## QA – Placement Quizzes | Probability | Question 14

Two cards are drawn together from a pack of 52 cards. What is the probability that one is a spade and one is a heart?… Read More »

## QA – Placement Quizzes | Probability | Question 13

From a pack of 52 cards, two cards are drawn together at random. What is the probability of both the cards being kings? (A) 1/15… Read More »

## QA – Placement Quizzes | Probability | Question 12

Two dice are thrown simultaneously. What is the probability of getting two numbers whose product is even? (A) 7/9 (B) 5/8 (C) 3/4 (D) 1/2… Read More »

## QA – Placement Quizzes | Probability | Question 11

What is the probability of getting a sum of 9 from two throws of a dice? (A) 1/3 (B) 1/6 (C) 1/9 (D) 1/12 Answer:… Read More »

## Directi Interview | Set 12 (On-Campus)

Recently DirectI visited our campus for placements for three profiles – 1. Platform Engineer 2. Applications Engineer 3. Operations Engineer This process is for the… Read More »

## Aptitude | Probability | Question 10

Ram speaks truth in 3/4 of cases and Shyam in 4/5 of cases. In what percent of cases while narrating the same event are they… Read More »

## Aptitude | Probability | Question 9

A box having 5 black and 3 brown flags. Another box having 4 black and 6 brown flags. If one flag is drawn from each… Read More »

## Aptitude | Probability | Question 8

A 5 digit number is formed by using digits 1, 2, 3, 4 and 5 with no two digits same. What is the probability that… Read More »

## Aptitude | Probability | Question 7

A bag contains 21 balls numbered 1 to 21. two balls are drawn one after another without replacement. Find the probability that both balls are… Read More »