sorting
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.
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.
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
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
1:25Barack Obama - Computer Science Question
1.2M views • 18 years ago
weedipikia
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.
Topic match · Algorithms & data structures
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.
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
28:23The Fast Fourier Transform (FFT): Most Ingenious Algorithm Ever?
2.3M views • 5 years ago
Reducible
Reducible's visual walkthrough of the Fast Fourier Transform, motivated by polynomial multiplication. It shows how the FFT's key ideas can be discovered by asking the right questions.
Topic match · Algorithms & data structures
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.
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
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.
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
1:43:00Disney's FastPass: A Complicated History
27.3M views • 4 years ago
Defunctland
A feature-length Defunctland documentary on the history of Disney's FastPass and FastPass+ expedited queue systems. It covers how the systems evolved and how they were designed, with simulation of their effects on park lines.
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
20:45dotJS 2019 - James Long - CRDTs for Mortals
18K views • 6 years ago
dotconferences
James Long's dotJS 2019 talk on how CRDTs enable local-first apps and how simple they can be to implement. He shows how to use them to build robust offline-capable frontends.
Topic match · Algorithms & data structures
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
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
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
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.
Topic match · Algorithms & data structures
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
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
17:50Blockchain 101 - A Visual Demo
3.3M views • 10 years ago
Anders Brownworth
Anders Brownworth gives a basic visual introduction to blockchain using an interactive web demo, covering SHA256 hashes, blocks, chains, distribution, tokens and coinbase transactions.
Topic match · Algorithms & data structures
26:33The Most Underrated Algorithm
10.8M views • 4 years ago
Veritasium
Veritasium tells the story of the Fast Fourier Transform, from its use in detecting nuclear tests to Cold War politics, and how it could have changed the arms race. It includes a short, intuitive explanation of what the Fourier transform does.
Topic match · Algorithms & data structures
1:04:00CppCon 2015: Sean Parent "Better Code: Data Structures"
106K views • 11 years ago
CppCon
Sean Parent's CppCon 2015 talk on better use of standard containers and the goal of having no incidental data structures. It argues that proper containers can greatly simplify code.
Topic match · Algorithms & data structures
46:06Lower Latency Graph Queries in Cypher with Redis GraphRoi Lipman, Redis LabsTim Davis, Texas A&M U
3K views • 8 years ago
Redis
Redis Labs and Tim Davis present RedisGraph, which uses GraphBLAS to treat graph queries in Cypher as sparse linear algebra for lower latency.
Topic match · Algorithms & data structures
14:28Superpositions, Sudoku, the Wave Function Collapse algorithm.
764K views • 6 years ago
Martin Donald
Martin Donald explains the Wave Function Collapse algorithm using Sudoku-like constraint solving and shows how he implemented it with Blender and Godot. It links demos and reference articles.
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
17:58What P vs NP is actually about
253K views • 2 years ago
Polylog
Polylog explains how algorithms can be turned into circuits and encoded as satisfiability problems, which lets you effectively run them backwards. It uses this to motivate breaking RSA, general reductions to SAT, and what P vs NP is really asking.
Topic match · Algorithms & data structures
1:04:30What is in a Lucene index? Adrien Grand, Software Engineer, Elasticsearch
80K views • 12 years ago
LuceneSolrRevolution
Elasticsearch engineer and Lucene committer Adrien Grand explains the design decisions inside a Lucene index and what problems it can and cannot solve. The talk goes into how Lucene stores data for fast search and analytics.
Topic match · Algorithms & data structures
20:08Fast Inverse Square Root — A Quake III Algorithm
6M views • 5 years ago
Nemean
A walkthrough of the Quake III fast inverse square root, explaining where the constant 0x5f3759df comes from. It covers IEEE 754 floats, the bit hack that approximates a logarithm, and a Newton's method refinement.
Topic match · Algorithms & data structures
1:10:10CRDTs: The Hard Parts
90K views • 6 years ago
Martin Kleppmann
Martin Kleppmann surveys current research on CRDTs, the algorithms for merging concurrent edits across offline replicas. He covers the hard parts such as rich text, moves and merge results that are technically correct but poor.
Topic match · Algorithms & data structures
1:20:1117. Succinct Structures I
17K views • 12 years ago
MIT OpenCourseWare
Erik Demaine's MIT 6.851 Advanced Data Structures lecture introducing succinct data structures, covering rank, select and tries. It is part of the Spring 2012 course.
Topic match · Algorithms & data structures
1:11Infinite Mario AI - Long Level
1.3M views • 17 years ago
Robin Baumgarten
A bot built by Robin Baumgarten plays Infinite Mario using A* path-finding, shown as a red planned path that updates as new obstacles appear. It won the Mario AI competitions and uses only on-screen information.
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