Wanna work at google?
#41
Posted 2007-September-24, 01:35
Psyche (pron. sahy-kee): The human soul, spirit or mind (derived, personification thereof, beloved of Eros, Greek myth).
Masterminding (pron. m
s
t
r-m
nd
ing) tr. v. - Any bid made by bridge player with which partner disagrees."Gentlemen, when the barrage lifts." 9th battalion, King's own Yorkshire light infantry,
2000 years earlier: "morituri te salutant"
"I will be with you, whatever". Blair to Bush, precursor to invasion of Iraq
#42 Guest_Jlall_*
Posted 2007-September-24, 02:15
Hannie, on Sep 22 2007, 03:20 PM, said:
Blofeld, on Sep 22 2007, 05:36 AM, said:
Well done Owen.
Oo hannie you'll have to explain this one to me on AIM lol
#43
Posted 2007-September-24, 02:36
1eyedjack, on Sep 24 2007, 02:35 AM, said:
The normal good problem with weights and balls, of which this version is kind of a subproblem (with 8 balls, not 9, which is probably why this version only has 8 balls), is you have 12 balls and know that 11 are identical in weight but 1 is EITHER heavier OR lighter. Now with 3 weightings of the scales of justice style scale (I.e., one side goes up or down or stays the same but you don't get a number answer) you have to determine the defective ball AND if the ball is heavier or lighter.
Many of these types of problems are fun to work on, but few make good interview questions IME (both as a candidate who nailed all of these questions when Microsoft used to ask them [but still though the a-ha questions were poor] and an interviewer who has interviewed a couple hundred technical people).
#44
Posted 2007-September-24, 11:14
Hannie, on Sep 22 2007, 12:20 PM, said:
Blofeld, on Sep 22 2007, 05:36 AM, said:
Well done Owen.
Interesting as I came about the answer a different way, but still the same (up to whatever rounding issues we both have).
The underlying presumption here is that the arrival of cars is a homogeneous Poisson Process. Thus, we can simply use the Exponential Probability distribution to model our probabilities. To show this assumption is critical, imagine that we are observing cars at the end of a bridge between the time of 7:50am and 8:20am and that for some reason, the bridge doesn't open until 8am. In that case, the probability of observing a car in that 30 minute increment might be .95 and in the first 10 min increment it would be 0.
I'm not sure what constant default probability is referring to. Default probability is typically defined as the probability of defaulting on debt! Shrug.
Anyway, once we have independent time increments, we can use the exponential distribution.
Then, Pr(T > t) = Exp{-lambda*t}
We are given that the Pr(T < 30) = 0.95
or Pr (T > 30) = 1 - Pr(T < 30) = 0.05 (this is what Owen used when saying the probability we do NOT observe a car in 30 minutes)
Pr(T > 30) = Exp{-lambda*30} = 0.05
Solving for lambda yields it to be approx 0.1.
Then we can use Pr(T > 10) = Exp{-(0.1)*10} = 1/e or about 0.37.
Finally, Pr(T < 10) = 1 - Pr(T > 10) = 1 - 0.37 = 0.63.
I'll be interested to hear how Owen used the cube root.
Edit: Arend told me how Owen came about using the cube root. Using Pr(T>30) = Pr(T>10)*Pr(T>10)*Pr(T>10) as you have to not see the car in each 10 min increment. Nice way to solve it. Relies on the same independent time increment assumption.
Edit2: Bonus Questions - What's the probability of observing TWO cars in 10 minutes? Suppose you arrived at the observation point, how long do you expect to wait before you see the next car?
#45
Posted 2007-September-24, 11:17
#46
Posted 2007-September-24, 17:21
I also talked with a google employer yesterday. He is well known to many here but I won't mention his name because google sees it all. He said Richard wasn't that far off with what he wrote in this thread so it isn't clear if Owen should be happy or sad.
- hrothgar
#47
Posted 2007-September-24, 17:51
Cherdano, on Sep 24 2007, 09:17 AM, said:
Hannie, on Sep 24 2007, 03:21 PM, said:
Silly mathematicians living in the theoretical world.
In the real world, Gnome has the job. Owen didn't show his work.
#48
Posted 2007-September-24, 18:21
More importantly, I THOROUGHLY recommend a sushi joint in Cupertino called Kitsho
The aji no tataki is to die for and they have some great saki (Go with the dewazakura oka)
Make sure to eat at the sushi bar and order Omakase.
#49
Posted 2007-September-24, 19:01
Echognome, on Sep 24 2007, 06:51 PM, said:
It's hard to argue with that.
But I would claim that Owen did show his work, and that he demonstrated a healthy dosis of common sense as well.
- hrothgar
#50
Posted 2007-September-25, 07:23
Matt: I showed working! Sheesh, how much do you want?
Now I'll take my dosis elsewhere.
#51
Posted 2007-September-25, 08:18
Hannie, on Sep 25 2007, 12:21 AM, said:
Did you miss the release that Mr. Google had quit?

Help
