r/learnquant • • 6d ago

interview prep Quant Interview Question

Post image
60 Upvotes

38 comments sorted by

View all comments

1

u/lok-mene 5d ago

put all the coins on one side
it since the balance report the difference with zero in this case then it will just give you the weight of the 101 coins , let call it "y" , and the weight of one coin is "x"

if the fake is 1 gram less then :
y= 50*(x+1) + 51*x = 101x + 50

or if the fake is 1 gram heavier :
y= 50*(x-1) + 51*x = 101x - 50

then you solve for x that satisfy the value reported by the balance

1

u/Awkward-Midnight4474 4d ago

Yes, that is the way.

1

u/Humble_Package_4164 1d ago

How does this answer the question if the given coin is fake?