← Bank of America Interview Insights

Bank of America·Software Engineer·Technical Phone Screen·Intermediate

IntermediatePrefer not to say
May 2026

Summary

Quant interview at Bank of America with some probability fundamentals. Nothing too wild but the second part of the dice question tripped me up more than I expected for something that looks so simple on the surface.

Questions Asked (2)

Q1

You roll two fair six-sided dice. What is the probability that the two dice show different values (i.e., no tie)?

Algorithms & Data Structures
Author's notes

Counted total outcomes (36), then ties (6), so non-ties are 30.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Use the complement rule: calculate the probability of a tie (both dice show the same value) and subtract from 1. Alternatively, count the total number of outcomes (36) and the number of outcomes where the dice differ (30), then divide. Clearly state the assumption that the dice are fair and independent.

Pro tip: After giving the answer, mention that this is a simple application of the complement rule and that similar probability questions often appear in trading or risk contexts at banks, showing you understand the practical relevance.

1. Define the sample space

State that each die has 6 equally likely outcomes, so there are 6 × 6 = 36 total possible outcomes when rolling two dice.

2. Identify favorable outcomes

Determine the number of outcomes where the dice show different values. This can be done by counting: for the first die, 6 choices; for the second die, 5 choices (any value except the first), giving 6 × 5 = 30 favorable outcomes.

3. Compute the probability

Divide the number of favorable outcomes by the total number of outcomes: 30/36 = 5/6 ≈ 0.8333.

4. Verify with complement rule

Alternatively, compute the probability of a tie: there are 6 outcomes where both dice match (1-1, 2-2, ..., 6-6), so P(tie) = 6/36 = 1/6. Then P(different) = 1 - 1/6 = 5/6.

Key Points to Mention

  • Total number of outcomes for two dice is 36.
  • Number of outcomes with different values is 30 (or number of ties is 6).
  • Probability = favorable outcomes / total outcomes.
  • Complement rule: P(different) = 1 - P(tie).
  • The dice are fair and independent, so each outcome is equally likely.
  • The answer simplifies to 5/6 or approximately 83.33%.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q2

Given the same two dice, what is the probability that die A shows a strictly greater value than die B?

Algorithms & Data Structures
Author's notes

I blanked for a second here.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

First, clarify that the dice are fair and independent, then compute the total number of equally likely outcomes (36). Count the outcomes where die A > die B, which is 15, and divide by 36 to get the probability 5/12.

Pro tip: Mention that by symmetry, the probability of A > B equals the probability of B > A, and since ties occur with probability 1/6, each must be (1 - 1/6)/2 = 5/12. This shows you can solve it without explicit counting.

1. Clarify assumptions

Confirm that both dice are fair and independent, and that 'strictly greater' means A > B, not A ≥ B.

2. Define sample space

State that there are 6 × 6 = 36 equally likely outcomes when rolling two dice.

3. Count favorable outcomes

Count the pairs (A, B) where A > B. This can be done by listing or using the formula: for each value of A, there are A-1 choices for B, summing from A=1 to 6 gives 0+1+2+3+4+5 = 15.

4. Compute probability

Divide the number of favorable outcomes by the total outcomes: 15/36 = 5/12.

5. Verify with symmetry

Check that P(A > B) = P(B > A) by symmetry, and P(A = B) = 6/36 = 1/6, so each is (1 - 1/6)/2 = 5/12.

Key Points to Mention

  • Fair and independent dice
  • Total outcomes = 36
  • Favorable outcomes = 15
  • Probability = 5/12 ≈ 0.4167
  • Symmetry argument: P(A>B) = P(B>A)
  • Ties probability = 1/6

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.