AI InterviewSearch…Search problems, topics, or pages…Ctrl KGet started
Mediumindependent events

~75s

At least one solves it

A can solve a problem with probability 1/2 and B with probability 1/3, independently. What is the probability that the problem gets solved?

Show the answer and the worked solution

Correct answer: C.

2/3

Worked solution

  1. P(A fails) = 1/2, P(B fails) = 2/3.
  2. P(both fail) = 1/2 × 2/3 = 1/3.
  3. P(solved) = 1 − 1/3 = 2/3.

Answer: 2/3.

The idea

For independent events, P(at least one) = 1 − product of failure probabilities. Adding 1/2 and 1/3 double-counts the case where both succeed.

Shortcut. Add and remove the overlap: 1/2 + 1/3 − 1/6 = 4/6 = 2/3. It must beat the better solver's 1/2 and stay below 1/2 + 1/3 = 5/6, and 2/3 is the only option that does.

Common trap. "5/6" — adding 1/2 and 1/3 directly, which counts the case where both solve it twice; subtracting 1/6 gives 2/3.

At least one solves it — Probability Aptitude Question

At least one solves it: A can solve a problem with probability 1/2 and B with probability 1/3, independently. Answer and worked solution on CodeKairo.

Question

A can solve a problem with probability 1/2 and B with probability 1/3, independently. What is the probability that the problem gets solved?

Options

  1. 1/6
  2. 1/2
  3. 2/3
  4. 5/6
Show the answer and the worked solution

Correct answer: C. 2/3

Worked solution

  1. P(A fails) = 1/2, P(B fails) = 2/3.
  2. P(both fail) = 1/2 × 2/3 = 1/3.
  3. P(solved) = 1 − 1/3 = 2/3.

Answer: 2/3.

The idea

For independent events, P(at least one) = 1 − product of failure probabilities. Adding 1/2 and 1/3 double-counts the case where both succeed.

Shortcut. Add and remove the overlap: 1/2 + 1/3 − 1/6 = 4/6 = 2/3. It must beat the better solver's 1/2 and stay below 1/2 + 1/3 = 5/6, and 2/3 is the only option that does.

Common trap. "5/6" — adding 1/2 and 1/3 directly, which counts the case where both solve it twice; subtracting 1/6 gives 2/3.

All Probability questions · placement mock tests