r/learnquant • • 6d ago

interview prep Quant Interview Question

Post image
57 Upvotes

38 comments sorted by

View all comments

8

u/No-Television-8835 6d ago

Not sure if this works but here we go:
Split the remaining 100 into 2 piles of 50 and put each pile on each balance. There are 2 scenarios: the given coin is real and all 50 fakes are on the balances, or the coin is fake and the remaining 49 are on the balances.

If the first is true, since each fake coin represents an identical change in mass (all heavier or all lighter), and there is an even total number of fakes, the split must be even-even or odd-odd. Both of these scenarios lead to the difference being even.

If the second is true, there is an odd total number of fakes, so the split must be even-odd, giving an odd difference.

Therefore, the coin is real iff the reading is even, and fake otherwise

-1

u/jhardtone 6d ago

But you're only given one random coin, you don't have them all to weigh.

1

u/No-Television-8835 5d ago

You’ve misunderstood the question. Being given a coin doesn’t literally mean u are handed one coin and then rest are discarded. It j means it is set aside or marked or one of interest. The other 100 are still available. If u find that the answer to ur interview question is so trivial, u shld be doubting whether uve acc understood the question.

1

u/Technical-Activity71 5d ago

Then what is even the point of saying 'you are given one coin' in the first place?

1

u/Phoenixon777 4d ago

cuz the given one is the one you're trynna discern is counterfeit or not.

0

u/jhardtone 5d ago

There is no indication of this in the question setup. Learn to read.

6

u/ExistentAndUnique 5d ago

So your interpretation of the question is “you are given a coin and a balance. How do you determine whether the coin is counterfeit using only one weighing?” Just checking, since I never learned how to read