Good videos, with context.
Barack Obama - Computer Science Question

Barack Obama - Computer Science Question

weedipikia
0 HN recommenders · discussed 2013–2019
Open YouTube ↗

About this video

A one-minute clip from Barack Obama's 2008 Google visit in which Eric Schmidt asks him the most efficient way to sort a million 32-bit integers. Obama answers that bubble sort would be the wrong choice.

Why it appears in the archive

Used as a joke or aside about bubble sort and as evidence that Obama was tech savvy, not as something recommended for its content.

AI-generated summary and labels from the source dataset; verify important details against the video. Source & credits.

From the Hacker News discussion

mortdeus · 2013-04 · reference

While I'm sure the President doesn't research all laws he signs, Obama is somewhat tech savvy. [VIDEO] I wouldn't be surprised if he made the threat based on his own personal moral ideology.

Read original comment ↗
xxs · 2018-05 · joke

Bubble sort is never a good choice unless so extremely lazy or what to impersonate Obama...[0] There are dual-pivot quicksort, smooth sort (in-place, based on Leonardo numbers and takes O(n) time to process a presorted array and O(n log n) in the worst case, and achieves nearly-linear performance on many nearly-sorted inputs), TimSort (that's stable as plus). Morealso changing stable to unstable sort is usually a very bad move. [0]: [VIDEO]

Read original comment ↗
dickeytk · 2019-11 · joke

I get your point, but why would you pick bubble sort? That’s one any engineer should be able to implement without any help. It’s the more complex/useful ones worth discussing. Even Obama knows this: [VIDEO]

Read original comment ↗