← Maven Securities Interview Insights

Maven Securities·Software Engineer·Technical Phone Screen·Intermediate

Intermediate
Apr 2026

Summary

Quant role at Maven Securities, one math puzzle that looks easy until you second-guess yourself three times.

Questions Asked (1)

Q1

The pairwise sums of three real numbers a, b, c are 39, 48, and 51 (in some order). What is the largest of the three numbers?

Algorithms & Data Structures
Author's notes

Blanked for a moment because I kept trying to assign which sum was which before just summing all three pairs.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Let the pairwise sums be x = a+b, y = a+c, z = b+c. Solve for a, b, c in terms of x, y, z, then substitute the given values and find the largest. Alternatively, note that the sum of all pairwise sums is 2(a+b+c), so compute a+b+c and subtract each pairwise sum to get the individual numbers.

Pro tip: After finding the numbers, verify that their pairwise sums match the given values in some order. This catches sign errors and demonstrates thoroughness.

1. Define variables

Let the pairwise sums be x = a+b, y = a+c, z = b+c, and note that the given values 39, 48, 51 can be assigned to x, y, z in any order.

2. Express total sum

Add the three pairwise sums: x + y + z = 2(a+b+c). Compute the total sum S = a+b+c = (x+y+z)/2.

3. Solve for each number

Subtract each pairwise sum from S to find the individual numbers: a = S - z, b = S - y, c = S - x.

4. Assign given values

Since the order of 39, 48, 51 is unknown, consider all permutations or note that the largest number will be S minus the smallest pairwise sum.

5. Compute and verify

Calculate the numbers, identify the largest, and verify that their pairwise sums match the given values.

Key Points to Mention

  • The sum of all pairwise sums equals twice the sum of the three numbers.
  • The largest number is obtained by subtracting the smallest pairwise sum from the total sum.
  • The order of the given pairwise sums does not affect the set of numbers, only their assignment.
  • Verification of the solution by checking pairwise sums.
  • Generalization: For three numbers, knowing pairwise sums uniquely determines the numbers.
  • Efficient computation: Avoid solving a system of equations by using the sum relationship.

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