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
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
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
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
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
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
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: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
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: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
30:37High-performance Tree Wrangling, the APL Way // Aaron Hsu // Dyalog '18
6K views • 7 years ago
Dyalog User Meetings
Aaron Hsu shows how to manipulate and transform tree data in APL using arrays and inverted tables instead of pointers. He claims much smaller code, better performance and easier parallelisation.
Topic match · Algorithms & data structures
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.
Topic match · Algorithms & data structures
54:01Abseil's Open Source Hashtables: 2 Years In - Matt Kulukundis - CppCon 2019
22K views • 7 years ago
CppCon
Matt Kulukundis reviews two years of Abseil's Swiss table hashtable, covering post-release optimizations, lessons from rolling it out across Google, design choices, and what global monitoring revealed.
Topic match · Algorithms & data structures
1:30:53C++Now 2018: You Can Do Better than std::unordered_map: New Improvements to Hash Table Performance
63K views • 8 years ago
CppNow
Malte Skarupke's C++Now 2018 talk on hash table performance, explaining why std::unordered_map is slow and memory hungry and presenting faster designs, including his bytell hash map.
Topic match · Algorithms & data structures
1:00:31BetrFS: A Right-Optimized Write-Optimized File System
3K views • 10 years ago
Microsoft Research
A Microsoft Research talk on BetrFS, a file system built on B-epsilon trees, a write-optimized data structure. It covers WODS such as LSM-trees, how to design a file system around them, and benchmark wins over ext4 and xfs.
Topic match · Algorithms & data structures
13:58The Josephus Problem - Numberphile
7M views • 10 years ago
Numberphile
Numberphile with Daniel Erman on the Josephus problem, where people in a circle are eliminated in turn. It shows how the survivor's position follows a neat pattern tied to powers of two and binary.
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
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
2:02Find the Longest Path
57K views • 16 years ago
switchbg
Find the Longest Path is a comedic song by Daniel J. Barrett, a Billy Joel parody that describes the NP-hard longest path problem in informal terms.
Topic match · Algorithms & data structures
25:39H3: Tiling the Earth with Hexagons
53K views • 8 years ago
Uber Engineering
Uber Engineering's Joseph Gilley explains why Uber uses hexagons for geospatial indexing and introduces H3, its open source hierarchical grid system. He covers use cases and how distortion is handled.
Topic match · Algorithms & data structures