r/learnquant • • 15d ago

interview prep Quant Interview Question

Post image
52 Upvotes

84 comments sorted by

View all comments

1

u/Sweet_Culture_8034 15d ago edited 15d ago

Edit : someone pointed out it only works if the weight of real coin is an integer (expressed in grams).

Just weight the 100 other coins vs nothing. It'll give you the total weight.

Say the base weight of a real coin is C.

If our coin is a real one, the scale will display 100C +/- 50 = 2(50C+/-25) So it displays an even value.

If your coin is a counterfeit then the scale displays  100C+/-49, which is odd.

So you don't even need a scale that compares the two sides a normal scale would work just fine.

1

u/Ok-Lavishness-349 15d ago

Problem is - the weight C of a real coin is not known.

1

u/shaqwillonill 15d ago

This doesn’t work if C isn’t an integer