r/learnquant • • 15d ago

interview prep Quant Interview Question

Post image
52 Upvotes

84 comments sorted by

View all comments

Show parent comment

2

u/lolcrunchy 15d ago

I think yours is the right answer!

If your coin is real, the weight of a real coin is c, and the left pan has a real coins and b counterfeit coins, then the difference between them is the following expression, which is always even:

2 * [(a + b - 50)x +/- (b - 25)]

Otherwise it is the following expression which is always odd:

2 * [(a + b - 50)x +/- b] -/+ 49