weedipikia
Senator Barack Obama parried a mock engineering interview question from Google CEO Eric Schmidt by pinpointing bubble sort as the wrong algorithm to sort one million integers.
AI-assisted summary of Barack Obama - Computer Science Question — original source. Check the original for full context.
Source published:
Key ideas
- At Google headquarters, CEO Eric Schmidt playfully subjected Senator Barack Obama to a classic Google engineering interview problem. (0:04)
- Asked the most efficient way to sort a million 32-bit integers, Obama drew loud applause by quipping that bubble sort would be the wrong approach. (0:24)
- Schmidt joked that someone must have fed Obama the answer, leading Obama to playfully claim his campaign had spies inside Google. (0:38)
- The discussion transitioned from computer science banter into foreign policy, highlighting Obama's opposition to the Iraq War. (1:04)
Detailed notes
## Background Published on YouTube by weedipikia on January 26, 2008, this clip highlights an appearance by Senator Barack Obama at Google headquarters. The page description notes that the segment features Google CEO Eric Schmidt asking the presidential candidate a classic computer science interview question.
## TL;DR During a forum at Google, CEO Eric Schmidt likens the presidential campaign to Google's demanding hiring process and poses a technical interview question about the most efficient way to sort a million 32-bit integers. Rather than dodging the prompt, Obama draws immediate laughter and applause from the audience by quipping that bubble sort would be the wrong way to go. Schmidt playfully accuses someone of leaking the answer while Obama jokes about having inside spies, after which the conversation transitions to serious campaign topics including the Iraq War.
## Atmosphere & style The exchange carries a warm, playful energy that feels like an inside joke shared between a charismatic campaigner and a room full of software engineers. Obama's deadpan delivery and unexpected technical familiarity spark a wave of genuine delight across the audience, creating a relaxed, collegial dynamic between the candidate and Schmidt. The brief burst of tech humor injects levity into the event before Schmidt smoothly pivots the tone back to serious national foreign policy.
## Bulletin - [00:04](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=4s) At Google headquarters, CEO Eric Schmidt playfully subjected Senator Barack Obama to a classic Google engineering interview problem. - [00:24](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=24s) Asked the most efficient way to sort a million 32-bit integers, Obama drew loud applause by quipping that bubble sort would be the wrong approach. - [00:38](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=38s) Schmidt joked that someone must have fed Obama the answer, leading Obama to playfully claim his campaign had spies inside Google. - [01:04](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=64s) The discussion transitioned from computer science banter into foreign policy, highlighting Obama's opposition to the Iraq War.
## Key takeaways - [00:04](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=4s) Eric Schmidt likened running for President of the United States to navigating Google's notoriously rigorous job interview process. - [00:15](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=15s) The software engineering question presented to Obama was submitted directly by Google employee Larry Schwimmer. - [00:18](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=18s) The problem posed was determining the most efficient method for sorting one million 32-bit integers. - [00:20](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=20s) When Schmidt began offering an exit from the question, Obama waved him off to deliver an answer. - [00:24](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=24s) Obama deadpanned that bubble sort would be the wrong way to go, referencing a famously inefficient sorting algorithm. - [00:32](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=32s) The Google audience responded with immediate laughter and sustained applause to Obama's computer science reference. - [00:38](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=38s) Schmidt humorously asked the audience who had leaked the talking point to Obama. - [00:42](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=42s) Obama continued the joke by claiming his campaign had internal spies stationed inside Google. - [01:04](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=64s) Schmidt shifted the discussion toward serious political discourse following the viral tech moment. - [01:10](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=70s) The session pivoted to foreign policy, focusing on Obama's steadfast opposition to the Iraq War during his campaign.
## Detailed walkthrough ### [00:04](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=4s) The Google Interview Question and the Bubble Sort Quip
During his visit to Google headquarters, Senator Barack Obama sits down with Google CEO Eric Schmidt, who frames the presidential campaign through the lens of Google's notoriously rigorous hiring process. Schmidt notes that running for president is essentially undergoing a massive job interview, but adds that landing a job at Google is famously difficult as well, as the company puts its candidates through demanding technical evaluations. Pulling a question submitted by Googler Larry Schwimmer, Schmidt turns to Obama and asks, “What is the most efficient way to sort a million 32-bit integers?”
As the audience laughs and Schmidt starts to offer an out, Obama waves him off and delivers an immediate, deadpan technical punchline: “No, no, no, I think—I think the bubble sort would be the wrong way to go.” The room erupts into cheers and applause at the candidate casually demonstrating awareness of sorting algorithms. A visibly amused Schmidt turns toward the crowd and jokes, “Come on, who told him this?” while Obama leans into the moment, playfully boasting that he has his own sources on the inside by remarking, “We've got our spies in there.”
- Eric Schmidt compares the rigor of running for the United States presidency to interviewing for an engineering role at Google. - The technical question—sorting one million 32-bit integers—was submitted by Google employee Larry Schwimmer. - Obama specifically rejects bubble sort, an elementary $O(n^2)$ algorithm notoriously inefficient for sorting large datasets.
[01:04](https://www.youtube.com/watch?v=k4RRi_ntQc8&t=64s) Pivoting to Foreign Policy and the Iraq War
Following the banter and the audience's enthusiastic reaction to the computer science reference, Schmidt steers the conversation back to standard interview territory, remarking that they should transition to an obviously more serious line of questioning. Schmidt shifts directly into foreign policy and Obama's platform, highlighting the candidate's consistent anti-war stance on the national stage by noting, “You're notable in this campaign for your steadfast opposition to the Iraq War.”
## Mentioned Barack Obama, Eric Schmidt, Google, Larry Schwimmer, Iraq War
## Video description Barack Obama gets asked a computer science question by Google CEO Eric Schmidt.
Full interview: http://www.youtube.com/watch?v=m4yVlPqeZwo&t=23m
[Source](https://www.youtube.com/watch?v=k4RRi_ntQc8)