# Quantitative Developer Interview Questions

Quantitative developer interview questions shared by candidates

## Top Interview Questions

How to measure 9 minutes using only a 4 minute and 7 minute hourglass http://www.abc.net.au/science/surfingscientist/pdf/conundrum9.pdf http://www.ronbarnette.com/Zeno/result7.html The key is understanding that you will have to use the two hourglasses together. Since this problem could be asked in many ways using different values for the hourglasses and the total amount of time, it's more important to understand how you use the tools rather than memorize a specific example. The question is used to determine those who can apply their knowledge to solve problems vs. those who memorize answers "from the book". Start both timers. After four minutes, the four-minute timer will have expired and the seven-minute timer will have three minutes remaining. Flip the four minute timer over. After seven minutes, the seven-minute timer will have expired and the four-minute timer will still have one minute left. Flip the seven-minute timer over. After eight minutes, the four-minute timer will have expired for the second time. The seven-minute timer will have accumulated one minute after it's last flip. Flip over the seven-minute timer and when it expires nine minutes will have elapsed. For extra measure, you can always throw in something like, "assuming the timers can be flipped over nearly instantly..." Show More Responses |

How many numbers between 1 and 1000 contain a 3? |

You have a chest of 8 drawers. With probability 1/2, you put a letter in one of the drawers. With probability 1/2, you don't put a letter in any drawer. I open the first 7 drawers, all are empty. What is the probability there is a letter in the 8th drawer? |

Given a m*n matrix with values -1 or 1, try to flip the values in a given row and a given line efficiently. |

If you toss a coin n times, what's the expected value of n if you get the 2nd head? |

How to compute square root of integer with only add, sub, div and mult |

Are you familiar with the Singleton or Factory pattern? |

The most unexpected questions was how would you color a 3-colorable graph. I was initially thinking that you had to do something efficient, which isn't possible, but he just wanted some way of doing it. |

There are 50 noddles in a bowl. Each time you randomly select two ends of the noddles from the bowl and tie together. What is the expected number of loops formed from this process? |

previous history |

**1**–

**10**of

**88**Interview Questions

## See Interview Questions for Similar Jobs

- Software Engineer
- Quantitative Analyst
- Software Developer
- Quantitative Researcher
- Senior Software Engineer
- Analyst
- Quantitative Research Analyst
- Data Scientist
- Associate
- Trader
- Vice President
- Quantitative Trader
- Intern
- Data Analyst
- Quantitative Software Engineer
- Senior Software Developer
- Business Analyst
- Director
- Financial Analyst