Quantitative Developer Interview Questions

10,227 quantitative developer interview questions shared by candidates

You play a game where you can roll a dice once and decide if you want to get paid the dice or roll again and get paid the value from the next roll. How much would you pay to play? How can you find the answer not with 2 but any number of rolls where you have the option of taking the roll value at each stage or rolling again?
avatar

Quantitative Analyst

Interviewed at Brevan Howard

2.8
Feb 5, 2025

You play a game where you can roll a dice once and decide if you want to get paid the dice or roll again and get paid the value from the next roll. How much would you pay to play? How can you find the answer not with 2 but any number of rolls where you have the option of taking the roll value at each stage or rolling again?

Q: If you have a chance of winning a $1 for every head that is flipped, how much will you make for 4 tosses? Then, if you were given the option to flip one of the tails one more time, what does your expected value of winnings climb to? Vice-versa.
avatar

Quantitative Researcher

Interviewed at CaaS Capital Management

5
Aug 26, 2022

Q: If you have a chance of winning a $1 for every head that is flipped, how much will you make for 4 tosses? Then, if you were given the option to flip one of the tails one more time, what does your expected value of winnings climb to? Vice-versa.

At a school fair, you stumble across three children playing a game. The game involves four jars that each contain an equal number of marbles of each of six colors: blue, red, yellow, green, orange, and purple. In a turn, one draws a marble at random from each jar and the object of the game is to draw four marbles of the same color. The four marbles are then returned to their original jars and the turn ends. You observe each of the three children play a turn. The first child draws 2 green marble, 1 blue marbl, and 1 red marble. The second child draws 3 red marbles, and 1 yellow marble. The third child draws 4 blue marbles (and wins). In expectation, the third child has played M times as many rounds of this game as the second child has, and the second child has played N times as many rounds of this game as the first child has. Compute M+N.
avatar

Quantitative Researcher

Interviewed at GSA Capital

4.7
Jul 22, 2024

At a school fair, you stumble across three children playing a game. The game involves four jars that each contain an equal number of marbles of each of six colors: blue, red, yellow, green, orange, and purple. In a turn, one draws a marble at random from each jar and the object of the game is to draw four marbles of the same color. The four marbles are then returned to their original jars and the turn ends. You observe each of the three children play a turn. The first child draws 2 green marble, 1 blue marbl, and 1 red marble. The second child draws 3 red marbles, and 1 yellow marble. The third child draws 4 blue marbles (and wins). In expectation, the third child has played M times as many rounds of this game as the second child has, and the second child has played N times as many rounds of this game as the first child has. Compute M+N.

How to calculate the length of a union of n intervals. For example, the union of [1.5, 2] and [2.5, 3] is [1.5, 2] U [2.5, 3], which has length 1. The union of [1.5, 3] and [2, 2.5] is [1.5, 3], which has length 1.5.
avatar

Quantitative Analyst

Interviewed at Morgan Stanley

3.9
Nov 10, 2017

How to calculate the length of a union of n intervals. For example, the union of [1.5, 2] and [2.5, 3] is [1.5, 2] U [2.5, 3], which has length 1. The union of [1.5, 3] and [2, 2.5] is [1.5, 3], which has length 1.5.

Viewing 911 - 920 interview questions

Glassdoor has 10,227 interview questions and reports from Quantitative developer interviews. Prepare for your interview. Get hired. Love your job.