A collection of quant riddles with answers
puzzles.nigelcoldwell.co.uk
puzzles.nigelcoldwell.co.uk
Delightful read!
It's still markovian though, which means it's straightforward to find a solution (unless you want to go crazy with optimizations as OP suggests).
It's a dynamic programming problem. Working backwards, at round 100 you take the money, at earlier rounds if [remaining rounds] * [current reading] < average([EV at round+1]), then reroll, otherwise take the money.
The correct answer is, at any time if you roll a 20, take money for the remaining rounds. On average you'll get a 20 by round 20 if you just roll 20 times in a row, so in that scenario you'll get at least 1600. This makes 1600 the number to beat. So if remaining rounds * current reading > 1600, take the money for all the remaining rounds. This translates to 17 or higher rolls 1-5, 18 or higher rolls 6-11 19 rolls 12-15 and 20 onwards.
That's only the first game in a series of 3 in the video, the remaining ones surprisingly have much simpler answers even though there are more considerations. Second game is if you take money your next round must be to roll, third game is that but if you take money, the casino gets to re roll before you do at its option, it is left ambiguous if the casino roll counts as one of your turns, which makes it 2 games to solve.
A Practical Guide To Quantitative Finance Interviews, Xinfeng Zhou
https://www.amazon.com/Practical-Guide-Quantitative-Finance-...Google never used that type of question, most certainly not in the early 2010s. That genre of question infamously came from Microsoft, much earlier than that.
Is this really how to get a quant job? A clever high schooler could solve these with hints. I can solve most, but I'm terrible at advanced calculus and statistics.
I got this one "wrong" because I assumed it was possible for the bicycle to skid and so swing the back wheel out of alignment.
Can I Google this? Sorry no.
ChapGPT? Pretend it’s not available.
Use a library? No no no.
Ask for help? Thanks for coming in.
I couldn't make sense of the 100-m race one either. The only thing I could come up with is maybe the clock freezes/race ends when the first person finishes, and the scores are then done by distance to the finish line.
Or you could describe it as a regular bicycle with a direct-drive, pivoting, rear wheel.
All of which to say that it is a bicycle, and its wheels can make any track you like as long as the front and back tracks are a fixed distance apart.
We have two right triangles with sides 54m and 40m, so the area of both combined is 54X40.
The area of the rectangle they're in is 55X40.
So the path between them should be 40m?
Where is 66 2/3 m coming from?
edit: never mind, the distance between the two sides of the path is 1m, but the distance from the corner of the triangle to the corner of the garden is greater than 1m
Fred Brooks version: Amy can bear a child in 9 months. Bella also can bear a child in 9 months. If you assign both of them to bear a child, how long will it be before a child is born?
I'm someone who sucks in aptitude or can say I'm pretty slow but can code pretty fine. In that regard, this is really helpful!
It's a good exercise in thinking about how to get the maximum amount of information out of a measurement.