sorting algorithms
5:5015 Sorting Algorithms in 6 Minutes
29.4M views • 13 years ago
Timo Bingmann
A visualization and sonification of 15 sorting algorithms, from selection sort to bogo sort, run on shuffled integers in six minutes. Each algorithm gets a size and speed scaled to its complexity.
1:29:55Sorting Algorithms: Speed Is Found In The Minds of People - Andrei Alexandrescu - CppCon 2019
184K views • 7 years ago
CppCon
Andrei Alexandrescu's CppCon 2019 talk revisits sorting, showing how branchless tricks, hybrid strategies and a cost metric can speed up std::sort-style algorithms on modern hardware.
27:42Mark DiMarco: User Interface Algorithms [JSConf2014]
52K views • 12 years ago
JSConf
A JSConf 2014 talk visually breaking down algorithms behind everyday UI patterns, such as dropdown menus that vanish when the mouse drifts and picking the nearest target to the cursor. It shows how these are implemented in JavaScript.
2:50SORTDEMO.BAS
10K views • 16 years ago
fragglet
A three-minute capture of SORTDEMO.BAS, the sorting visualization that shipped with QBasic. It animates insertion, bubble, heap, exchange, shell and quick sort with chiptune-like sound.
Topic match · Algorithms & data structures
6:55Quick-sort with Hungarian (Küküllőmenti legényes) folk dance
2.4M views • 15 years ago
AlgoRythmics
Hungarian folk dancers from Sapientia University act out the quicksort algorithm step by step, with music. It is part of the AlgoRythmics series of sorting algorithms performed as dance.
Topic match · Algorithms & data structures
42:3630 Weird Chess Algorithms: Elo World
965K views • 7 years ago
suckerpinch
Tom Scott-style absurdist tour by Tom7 of SIGBOVIK chess projects: a tournament of 30 weird chess algorithms used to rate a color- and piece-blind chess program. Topics include mirrors, arithmetic encoding, perverted game tree search and a diluted Stockfish.
1:45:56Donald Knuth: Algorithms, Complexity, and The Art of Computer Programming | Lex Fridman Podcast #62
515K views • 6 years ago
Lex Fridman
Lex Fridman interviews Donald Knuth about algorithms, complexity, The Art of Computer Programming, and his work habits. The conversation covers his approach to verifying algorithms and how he organises his time.
3:25What happens at a Materials Recycling Facility? (MRF) - How does our sorting machine work?
101K views • 13 years ago
Devon Contract Waste
A short tour of a UK materials recycling facility showing how mixed recyclables are mechanically and optically sorted. Aluminum, ferrous metal, glass, paper, and trash come out as separate streams.
42:25Glenn Vanderburg - Cló: The Algorithms of TeX in Clojure
9K views • 11 years ago
ClojureTV
Glenn Vanderburg presents Cló, a Clojure library that reimplements TeX's core typesetting algorithms as composable functions. He shows what translating procedural, literate-programming code into functional form teaches.
1:13:41CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"
235K views • 12 years ago
CppCon
Chandler Carruth's CppCon 2014 talk on writing fast C++, explaining why data structure choice and memory layout matter more than clever algorithms. It covers why standard containers like unordered_map perform poorly on modern CPUs.
1:01:47Four Solutions to a Trivial Problem - Guy Steele Jr.
36K views • 10 years ago
Google TechTalks
Guy Steele presents a small geometric problem and compares four computational approaches: a classic sequential solution and three parallel-friendly ones. Each is illustrated pictorially and with working code, weighing total work against time to solution.
Topic match · Algorithms & data structures
27:13Robust-first computing: Demon Horde Sort (full version)
14K views • 13 years ago
Dave Ackley
Dave Ackley demonstrates the Demon Horde Sort, an inherently robust sorting machine running in his Movable Feast Machine simulator. This is the uncut version with all details and side thoughts.
Topic match · Algorithms & data structures
59:34There is No Algorithm for Truth - with Tom Scott
2.7M views • 7 years ago
The Royal Institution
Tom Scott's Royal Institution discourse on science communication in the age of social media, how recommendation algorithms shape popularity, and why view counts can matter more than truth. It includes a segment on parasocial relationships.
51:47Lecture 19: Dynamic Programming I: Fibonacci, Shortest Paths
2.9M views • 13 years ago
MIT OpenCourseWare
Erik Demaine's MIT 6.006 lecture introducing dynamic programming through Fibonacci numbers and shortest paths. It covers memoization, subproblems and optimal substructure.
Topic match · Algorithms & data structures
1:47:35Bryan Cantrill on ARC: A Self-Tuning, Low Overhead Replacement Cache [PWL SF] 10/2017
13K views • 9 years ago
PapersWeLove
Bryan Cantrill presents the ARC (Adaptive Replacement Cache) paper by Megiddo and Modha at Papers We Love. He opens with a survey of caching strategies before digging into the self-tuning LRU/MFU design.
Topic match · Algorithms & data structures
1:26:11Succinct Data Structures
9K views • 12 years ago
Edward Kmett
Edward Kmett's 2013 talk at Prezi in Budapest on succinct data structures, which store data in close to the information-theoretic minimum space while supporting fast queries. It ties together the research and walks through his Haskell succinct library.
Topic match · Algorithms & data structures
3:38The Shortest-Splitline Algorithm: a Gerrymandering Solution [Bonus Video]
692K views • 15 years ago
CGP Grey
A short CGP Grey bonus video explaining the shortest-splitline algorithm, which draws electoral districts by repeatedly splitting a state along its shortest dividing line while balancing population. It is offered as a neutral, algorithmic fix for gerrymandering.
Topic match · Algorithms & data structures
1:29:59Moleman 2 - Demoscene - The Art of the Algorithms (2012)
329K views • 14 years ago
Vakondok (Moleman)
Moleman 2 is a feature-length documentary about the demoscene, tracing its rise from 1980s Commodore 64 culture to modern real-time art. It explains the algorithms and creative process behind demos and intros.
1:17:12C++ Seasoning
58K views • 13 years ago
aghuttun
Sean Parent's GoingNative 2013 talk surveys new and overlooked C++ features and shows how to use them for simple, correct, clear code. It stresses using standard algorithms rather than raw loops.
1:23:56Stanford Seminar - Unethical Algorithms of Massive Scale
15K views • 9 years ago
Stanford Online
Psychologist Robert Epstein presents a Stanford EE380 colloquium on how internet algorithms such as search rankings can manipulate opinions, purchases and votes at massive scale. He also describes a new monitoring system for tracking such influence.
4:09Evolved Virtual Creatures (1994)
43K views • 6 years ago
karlsims
A restored 1994 video of Karl Sims' research on evolved virtual creatures, where simulated block creatures are bred through artificial evolution to swim, walk, follow and compete. It is a landmark demonstration of genetic algorithms in physics simulation.
43:39CRDTs and the Quest for Distributed Consistency
68K views • 8 years ago
InfoQ
Martin Kleppmann's QCon London 2018 talk on keeping data consistent in distributed systems without a central leader. It surveys CRDT algorithms for syncing devices and collaborative editing over peer-to-peer networks.
Topic match · Algorithms & data structures
1:00:17Stephan T. Lavavej “Floating-Point <charconv>: Making Your Code 10x Faster With C++17's Final Boss”
41K views • 7 years ago
CppCon
Stephan T. Lavavej's CppCon 2019 talk on implementing floating-point to_chars and from_chars in Microsoft's C++ STL. It covers the history of float-string conversion and the algorithms that make it much faster.
Topic match · Algorithms & data structures
1:02:17'Fastware' - Andrei Alexandrescu [ ACCU 2016 ]
34K views • 10 years ago
ACCU Conference
Andrei Alexandrescu's ACCU 2016 talk previews material from his book on writing fast code, with a focus on optimization techniques such as sentinels and faster search.
Topic match · Algorithms & data structures
22:56We're building a dystopia just to make people click on ads | Zeynep Tufekci
771K views • 8 years ago
TED
Technosociologist Zeynep Tufekci argues that the machine-learning systems used to serve ads also decide what political and social information people see. She explains how opaque algorithms can nudge, segment and manipulate users, and warns that the real danger is powerful people using AI to control populations.
14:46Robust-first computing: Beyond efficiency
8K views • 13 years ago
Dave Ackley
Dave Ackley gives a high-level introduction to robust-first computing, which prioritizes robustness over efficiency in computer architecture. A sorting demo illustrates the idea.
50:31How Modern SQL Databases Come up with Algorithms that You Would Have Never Dreamed Of by Lukas Eder
55K views • 9 years ago
Devoxx
Lukas Eder's Devoxx talk on how modern cost-based SQL optimizers rewrite and plan queries in ways developers would not expect. It argues that declarative SQL, used well, can run complex queries very fast.
21:01Jaron Lanier interview on how social media ruins your life
4M views • 8 years ago
Channel 4 News
A Channel 4 News interview with technologist Jaron Lanier, who argues that social media damages people's lives. He discusses how Facebook, YouTube and Google use algorithms and data collection to shape what users see.
16:33The nightmare videos of childrens' YouTube — and what's wrong with the internet today | James Bridle
6M views • 8 years ago
TED
Writer and artist James Bridle shows how strange and disturbing children's videos on YouTube, from surprise eggs to algorithmic mashups, are produced for ad revenue. He argues they reveal problems in a data-driven internet.
16:09The astounding athletic power of quadcopters | Raffaello D'Andrea
10.8M views • 13 years ago
TED
In a TEDGlobal talk, Raffaello D'Andrea demonstrates quadcopters that play catch, balance, learn and coordinate, using algorithms that treat them like athletes. It includes Kinect-controlled quads.
59:34CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”
137K views • 9 years ago
CppCon
Matt Kulukundis explains how Google designed SwissTable, a fast, cache-friendly hash table, step by step from std::unordered_map. The talk covers open addressing, SIMD probing and the tradeoffs of changing a fundamental data structure.
Topic match · Algorithms & data structures
1:07:41Modern Dictionaries by Raymond Hettinger
150K views • 9 years ago
SF Python
Python core developer Raymond Hettinger explains how Python's dictionary implementation evolved into the compact, ordered dict in Python 3.6. He uses pictures and small bits of pure Python, and covers key-sharing, compaction and versioning.
Topic match · Algorithms & data structures
1:06:00CppCon 2017: Juan Pedro Bolivar Puente “Postmodern immutable data structures”
31K views • 9 years ago
CppCon
Juan Pedro Bolivar Puente explains immutable and persistent data structures in C++ and how they support value semantics. He presents the Immer library, rrb-trees, and a prototype text editor that opens a huge file instantly.
Topic match · Algorithms & data structures
8:28The Fastest Way to Board a Plane Feels Like the Slowest
37.5M views • 7 years ago
CGP Grey
CGP Grey compares airplane boarding methods, based on an arXiv paper, and shows why the intuitive back-to-front approach is slow while random or outside-in boarding does better.
Topic match · Algorithms & data structures
1:07:02Stanford Lecture: Don Knuth—"A Conjecture That Had To Be True" (2017)
30K views • 8 years ago
Stanford Online
Donald Knuth's 2017 Christmas Tree Lecture at Stanford about a combinatorial geometry problem whose computed numbers matched a striking formula. He tells the story of the conjecture and its sequel.
Topic match · Algorithms & data structures
58:36Advanced Topics in Programming Languages: A Lock-Free Hash Table
29K views • 14 years ago
GoogleTalksArchive
A 2007 Google Tech Talk in which Cliff Click of Azul Systems presents a lock-free concurrent hash table that scales to 768 CPUs. He explains why it is correct by reasoning in a different way than usual happens-before and memory-order arguments.
Topic match · Algorithms & data structures
9:43A Sudoku Solver in APL
47K views • 14 years ago
Dyalog
A Dyalog demonstration of developing a Sudoku solver in APL, using an algorithm by Arthur Whitney with performance work by John Scholes. The narration steps through the array-oriented solution.
Topic match · Algorithms & data structures
31:11React.js Conf 2015 - Immutable Data and React
159K views • 11 years ago
Meta Developers
Lee Byron of Facebook explains how persistent immutable data structures work and how to use them in React apps with Immutable.js. He covers memoization benefits and avoiding coupling through shared mutable state.
Topic match · Algorithms & data structures
11:32Depth-first search in APL
11K views • 12 years ago
Dyalog
John Scholes builds a depth-first tree-search operator step by step in a Dyalog APL session. It covers higher-order functions and runs the search on the N-Queens problem.
Topic match · Algorithms & data structures
24:02How to: Work at Google — Example Coding/Engineering Interview
7.6M views • 10 years ago
Life at Google
Two Google engineers perform a mock coding interview and then discuss best practices for candidates, including asking clarifying questions and communicating while solving.
Topic match · Algorithms & data structures