Are the questions like "What's 92 times 34?" to measure how many registers you have in your brain or something? I think I do OK with those. Now, the logic and probability questions.. I can't say I nailed any of them though I've worked through them with interviewer help. I'm not sure if that counts for anything. Are there any good resources for working through a bunch of puzzle problems like these? (I mean hundreds, not just a few problems)
That was some nice brologic there... 3 weights does not guarantee you get the odd-ball: you need n attempts to guarantee you get the light ball. Now you only ever need to compare 2 balls and the moment you have 2 that are different weights, the lighter one is the odd-ball obviously. The fact remains the complexity of that runtime is O(n). Regards,
Bollocks, who said you can only weigh one ball against another? 1). Weigh 7 against other 7. Pick heaviest group. 2). Remove one ball from heavy group, and weigh 3 against 3. If these are equal then the removed ball is the heaviest and you have found it in 2 weighings. If not, pick the heaviest group of 3 balls from the weighing. 3). Remove one ball from the selected heavier group of 3. From these 2, Weigh 1 against 1. If they are different you found the heaviest ball. if they are equal, then the heaviest is the one you removed. There you go, guaranteed to find the heaviest ball in max of 3 weighings, (2 if you get lucky, but not guaranteed). You're welcome.
Assuming the ball is catching up with the wall (it would have to be since it eventually hits it) and moving at 60 MPH relative to the wall which is moving 120 MPH, it will then bounce backward at 60 MPH relative to the wall, and subsequently be stationary in space. Answer = Zero.
What's the point? You can be a sucessful trader without knowing the answer to any of these. If you want to be a quant, well that's another story.
I'm having trouble with that one. I volunteer to bring beer and krispy kreams to the next tard meeting.