Here's the transcript:
SCHMIDT: Now, Senator, you're here at Google and I like to think of the presidency as a job interview. Now, it's hard to get a job as president. And--I mean, you're going to do a great job. It's also hard to get a job at Google. We have questions and we ask our candidates questions. And this one is from Larry Schwimmer. What--you guys think I'm kidding, it's right here.[1] What is the most efficient way to sort a million 32-bit integers?OBAMA: Well...
SCHMIDT: Maybe--I'm sorry...
OBAMA: No, no, no, no. I think--I think the bubble sort would be the wrong way to go.
SCHMIDT: [facepalm] Come on. Who told him this? Okay. I didn't see computer science in your background.
OBAMA: We've got our spies in there.[2]
If you're wondering about the complete answer to the sorting question, see a detailed explanation.[3]
All in all, it was a very unexpected answer from Obama with perfect delivery.
Notes
[1] Nervous laughter greeted the mention of a Larry Schwimmer question, because he once asked Jimmy Carter about his UFO encounter.
[2] Eric Schmidt had asked the sorting question to John McCain on a different visit, with the expected result. See the YouTube clip of McCain's visit.
[3] The pedantic may note that Obama's question is slightly different from the Stack Overflow question since it involves 32-bit integers vs. 8 digit integers, and the memory constraint was omitted.
4 comments:
That's great. :)
This just shows that Obama is a showman... he had somebody carefully study and brief him on McCain's visit.
I wish we would vote for leaders on their ability to lead and solve problems, instead of their ability to deliver punchlines and be 100% politically correct 100% of the time.
Obama is All for show. He is truly incompetent in everything he does.
> OBAMA: We've got our spies in there.
And only today do we know how much truth lay in that statement.
Post a Comment