• On TV.com: MEGAN FOX Photos
November 15, 2007 11:35 AM PST

Obama is 'Google-like'

by Elinor Mills
  • Font size
  • Print
  • 9 comments

Democratic presidential contender Barack Obama made an impressive showing at the Googleplex on Wednesday, joking about the casual attire of the audience and correctly answering a standard Google engineering interview question.

Asked by Google Chief Executive Eric Schmidt what the most efficient way to sort a million 32-bit integers is, Obama said the wrong way would be the "bubble sort method," which is a basic but inefficient method for sorting numbers. "You answered the question correctly," Schmidt said.

(Credit: Google/YouTube)

"He's fresh, he's new, there's something about him that's Google-like," Nicole Resz, a 26-year-old who works in Google's advertising department, gushed to Reuters.

"I've never seen so many people at a Google event. We've had everybody, we've had Mikhail Gorbachev," she said.

Googlers have also hosted Hillary Clinton, John McCain, John Edwards, Bill Richardson, Mike Gravel, and Ron Paul in Mountain View, Calif., according to the Google Public Policy Blog.

Obama hit on some topics that are of interest to the techie crowd, including support for: Net neutrality ("The Internet is perhaps the most open network in history. We have to keep it that way."); expanding high-speed broadband; and freeing up wireless spectrum. He also said he would provide citizens better visibility into the workings of government and promised to appoint the country's first chief technology officer.

And he showed his humorous side, quipping as he looked at all the T-shirts in the audience: "It's good to see Google is maintaining its strict dress code."

His fireside chat with Schmidt is on YouTube.

Elinor Mills covers Internet security and privacy. She joined CNET News in 2005 after working as a foreign correspondent for Reuters in Portugal and writing for The Industry Standard, the IDG News Service, and the Associated Press. E-mail Elinor.
Recent posts from News Blog
Nvidia puts NForce chipset development on hold
Opera 10 browser is here
Neil Young Archives Blu-ray: Rip off?
Acronis revises survey results about backup habits
Acronis miscalculates data on users' bad backup habits
Flickr co-founder presses beta button
Comcast, Sony open retail store
Cox to try coaxing the Internet into submission
Add a Comment (Log in or register) (9 Comments)
  • prev
  • 1
  • next
He Didn't Even Answer the Question (Smart Politics, though)
by WillSimpson62 November 15, 2007 1:24 PM PST
He didn't answer the question, just gave an example of a wrong
question.

Scary that he could be President...
Reply to this comment
Well, yeah...
by timwaitsfornoman November 15, 2007 1:43 PM PST
What do you expect from a Democrat. They can always spot the incorrect answer (invasion of Iraq was a mistake), but they don't have any right answers.
What is it then?
by AndrewRich November 15, 2007 3:55 PM PST
So what is the right answer?

Just in case I ever get that interview, ya know.
could hilary have answered it?
by uhhuhsure November 16, 2007 6:28 AM PST
it's scary that you think his answering the question would be a reason to elect him president. Could any of the candidates have answered. I think he's on point for the important issues.
Actually, that's a good answer to a trick interview question.
by Trerro January 3, 2008 5:47 AM PST
If there was a perfect sort algorithm, there would be no need for companies like Google to constantly come up with better ways of doing basic comp sci tasks.

If you're applying for a job at Google, sure it's great if you know whatever the currently fastest known sort is (though that's likely to both change quickly and in some cases, depend on exactly what you're sorting.) What's far more important is to know not to rely on a very simple method that doesn't work well on huge data sets (and yes, the bubble sort would be a great example of that.) So his answer is essentially "I know what doesn't work, and I'm going to try to figure out - or create - what does." I would think that's exactly the kind of answer they'd want to hear.
by logan1337 November 3, 2008 12:35 PM PST
I'm actually pretty impressed that he knew that. Obama is not a computer scientist. Do you really think McCain, who has admitted he's actually computer illiterate, would even know what the term bubblesort means?
Mr Straw Dog
by William Crow November 15, 2007 1:31 PM PST
The straw dog set up to make Hillary look "really tough" when she
finally beats him at the polls.
Reply to this comment
not voting for u
by flickrz November 15, 2007 2:50 PM PST
not voting for you anymore....
Reply to this comment
by j_a_s_p_e_r September 2, 2008 7:56 PM PDT
Why was my original comment removed? It was not offensive. Here is what I posted

"The wrong answer would have been anything but the O(n log(n)) (quick, bucket, hash, etc) sorting algorithms. The wrong answer could have been "by hand". Why be correct by defining something by what it is not. Is Obama the right guy because he is not Hillary? Geez, talk about going Schmidt going gaga stupid over Obama "
Reply to this comment
(9 Comments)
  • prev
  • 1
  • next
advertisement
Click Here

Google's mobile hopes go beyond Nexus One

The world may have thrilled to the potential for a Google Phone, but what Google actually unveiled is its plan for a new smartphone world order.
• Photos: Unboxing Nexus One

Using your smartphone safely

faq Worms, Trojans, and SMS attacks are risks for mobile phones, but the biggest practical threat to users is losing the device.

About News Blog

Recent posts on technology, trends, and more.

Add this feed to your online news reader

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right