Skip to main content

Videos

YouTube videos of various topics

EN
播放列表
The News Scale: Putting the Headline on the World Map

You see international news every day, but where does the story sit across the world and across the last few decades? Using maps, icons, and comparable data, each episode puts one current headline back into its global distribution, its ranking among peers, and its long-run history, answering where, how many, compared with whom, and how it used to be. The series works at three scales: where the world stands on the map, how to rank fairly once population, size, and definitions change the order, and whether today is truly different once a long time series separates noise from real turning points. Every episode builds around one main chart and shows how to read a map's definition, a ranking's denominator, and a time series' starting point, so one isolated number is never mistaken for the whole picture.

中文
播放列表
新闻刻度:把一条新闻放回世界和历史里

每天都在看国际新闻,但这件事放到全世界和过去几十年里,究竟算什么?用地图、图标和可比数据,把一条当下热点放回全球分布、统计排名与历史长周期,回答“在哪里、多少、与谁相比、过去如何”。系列按三个尺度展开:世界摆在哪里,看地图上的数量、类型和覆盖范围;排名怎样才公平,看人口、规模和统计口径怎样改变排名;今天真的不同吗,用长时间序列区分短期波动与结构性转折。每集只放一张主图,教你看清地图的口径、排名的分母和时间序列的起点,不再把一个孤立的数字当成世界的全貌。

Seeing Why: The Science Behind Everyday ThingsEN
19 个视频
Seeing Why: The Science Behind Everyday Things

Each episode answers a "why" everyone has asked and few can answer: why the sky is blue, how a falling cat always lands on its feet, why buttered toast lands face down, why you can't jump higher inside an elevator. You first see the moment you already know, then a real physics simulation plays it back. The numbers are real, and changing one of them changes the result. By the end you can say the reason in one sentence. No science background needed. The series is grouped by the underlying rule: floating and sinking, the force of air, spinning, gravity, light and color, balance and toppling, collisions and inertia, resonance, and more. Dozens of unrelated-looking questions turn out to come down to a handful of rules that keep showing up.

看得见的为什么:日常现象背后的科学中文
19 个视频
看得见的为什么:日常现象背后的科学

每集回答一个人人问过、却很少有人答得上的“为什么”:天为什么是蓝的,猫从高处掉下来为什么总能脚着地,涂了黄油的面包为什么总是朝下,电梯里起跳为什么没有跳得更高。先看到你熟悉的那一幕,再用一次真实的物理模拟把它重现出来;参数取自真实数值,改掉一个参数,结果就跟着变。看完能用一句话说清原因。不需要理科背景。系列按规律分成浮与沉、空气的力、转起来、引力、光与颜色、重心与倒下、碰撞与惯性、共振等主题:二十多个看似无关的问题,背后其实只有几条规律在反复出现。

Algorithms in Real Systems: The Data Structures Inside Everyday SoftwareEN
19 个视频
Algorithms in Real Systems: The Data Structures Inside Everyday Software

Open up the software you use every day and see, through clear animations, the algorithm that actually runs inside. Each episode starts from a real system's problem: why Redis doesn't use plain LRU, why Kafka and Netty timers don't use a heap, why VS Code opens a file of hundreds of megabytes without stalling, and how a trading system handles millions of messages a second without locks. The series is organized by scenario: caching (LRU, LFU, TinyLFU), timers and queues (timing wheels, ring buffers, the LMAX Disruptor, work-stealing deques), editors (gap buffers, ropes, piece tables), sharing and compression (copy-on-write, structural sharing, Roaring bitmaps), memory allocation, and rate limiting and circuit breaking. Each episode explains which hardware, access pattern and failure mode make the design a good fit, then compares time, space and practical trade-offs.

工程里的算法:藏在常用软件里的数据结构中文
19 个视频
工程里的算法:藏在常用软件里的数据结构

用可视化动画,拆开每天都在用的软件,看里面真正跑的算法。每集从一个真实系统的问题出发:Redis 为什么不用纯 LRU,Kafka 和 Netty 的定时器为什么不用堆,VS Code 打开几百兆的文件为什么不卡,交易系统每秒几百万条消息为什么可以不加锁。系列按六个场景展开:缓存(LRU、LFU、TinyLFU)、定时与队列(时间轮、环形缓冲区、LMAX Disruptor、工作窃取队列)、编辑器(Gap Buffer、Rope、Piece Table)、共享与压缩(写时复制、结构共享、Roaring Bitmap)、内存分配,以及限流与熔断。每集讲清它在什么硬件、访问模式和失败方式下合适,并比较时间、空间和实际取舍。

A Sentence Through an LLM: How ChatGPT Works InsideEN
17 个视频
A Sentence Through an LLM: How ChatGPT Works Inside

Follow one sentence you send to ChatGPT, through clear animations, from the input box to the first word of the reply. The series walks the order of a single forward pass: how the tokenizer and BPE cut text into tokens, how embeddings turn IDs into vectors, how attention, multiple heads, the causal mask and positions let words look at each other, what the feed-forward network and residual stream do inside one transformer layer, then sampling, the KV cache, training, and how a sentence grows one token at a time. Each episode explains one mechanism and puts it back on the same route, using the same example, "Why is my kitten not eating?" Along the way it answers why a model can't count the r's in strawberry, why the same question gets different answers, and why long context costs so much.

一句话穿过大模型:ChatGPT 内部是怎么工作的中文
17 个视频
一句话穿过大模型:ChatGPT 内部是怎么工作的

用可视化动画,跟着你发给 ChatGPT 的那一句话,看大模型从输入框到第一个回答的词之间发生了什么。系列沿着一次前向传播的顺序展开:Tokenizer 和 BPE 怎样把文字切成 Token,Embedding 怎样把编号变成向量,Attention、多头、因果掩码和位置编码怎样让词互相看见,一层 Transformer 里的 FFN 与残差,再到 Softmax 抽样、KV Cache、训练,以及一句话怎样一个 Token 一个 Token 长出来。每集只讲一个机制,用同一个例子“小猫为什么不吃饭?”把它放回完整的路线上,解释为什么数不清 strawberry 里有几个 r、同一个问题为什么会得到不同答案、长上下文为什么那么贵。

Dynamic Programming, Visualized: Learn to Define the StateEN
21 个视频
Dynamic Programming, Visualized: Learn to Define the State

Learn to define dynamic programming states through concrete problems, one state shape at a time. Start with recursion, overlapping subproblems, and memoization, then move through one-dimensional states, knapsack capacity, two-dimensional tables, state machines, intervals, trees, and sets. Each episode explains what a state represents, which smaller problems it depends on, how to fill the table, and what the solution costs in time and space. Build a way to recognize the shape of a new problem and choose a state that fits.

动态规划:学会定义状态中文
21 个视频
动态规划:学会定义状态

用一道道具体的题,学会判断动态规划的状态该怎么定义。从爬楼梯里的递归、重叠子问题和记忆化开始,再依次看一维状态、背包容量、二维表格、状态机、区间、树和集合。每集都会讲清状态表示什么、转移依赖哪些子问题、表该按什么顺序填写,以及时间和空间开销。看完后,遇到新题时也能先辨认状态的形状,再找到合适的解法。

Probabilistic Data Structures, VisualizedEN
7 个视频
Probabilistic Data Structures, Visualized

See how a few kilobytes can answer questions that would otherwise mean storing everything, through clear, step-by-step animations. The first group answers \"is it in there?\": a Bloom filter's \"no\" is always right and its \"yes\" only probably; a cuckoo filter stores fingerprints, so it can delete; and an XOR filter is smaller and faster still for a set that stays put. The second group counts: Count-Min Sketch takes the minimum across a few rows of counters and can only overcount, never undercount, while HyperLogLog keeps just the longest run of leading zeros and counts a billion distinct users in 12 KB. The third measures similarity: with MinHash, the chance two sets share a minimum hash is exactly their Jaccard similarity, and SimHash squeezes a document into 64 bits so that a rewrite lands only a few bits away. The last episode is reservoir sampling: a fair sample of k from a stream of unknown length. Each episode works through a small example you can check by hand, then explains where the error comes from, how low it can go, and what it costs in time and space.

概率数据结构:用一点误差换海量空间中文
8 个视频
概率数据结构:用一点误差换海量空间

用可视化动画理解,怎样在几 KB 内存里回答原本要存下全部数据才能回答的问题。第一组判断“在不在”:布隆过滤器说“不在”一定对,说“在”可能错;布谷鸟过滤器存指纹,所以能删除;XOR 过滤器在集合固定时更小更快。第二组负责计数:Count-Min Sketch 用几行计数器取最小值,只会多估不会少估;HyperLogLog 只记哈希里最长的前导零,12 KB 就能数清十亿个不同的用户。第三组判断相似:MinHash 让两个集合最小哈希相等的概率正好等于 Jaccard 相似度;SimHash 把一篇文章压成 64 位指纹,改写过的文章只差几位。最后是蓄水池抽样:不知道数据流有多长,也能公平地抽出 k 个。每集都用一个能手算的小例子把结构走一遍,再说清误差从哪来、能压到多低,以及时间和空间的代价。

Hashing, Visualized: From Hash Tables to Cuckoo HashingEN
5 个视频
Hashing, Visualized: From Hash Tables to Cuckoo Hashing

See how a hash table computes where a key lives, and what it does when two keys want the same slot, through clear, step-by-step animations. It starts with the hash table itself: chaining hangs colliding keys in a list, open addressing probes on for a free slot, and a table gets slower as it fills, suddenly so, which is why Java's HashMap grows at three-quarters full. The next three episodes each improve on open addressing: Robin Hood hashing lets the key furthest from home take a nearer key's seat, evening out probe distances; hopscotch hashing keeps every key within H slots of home, hopping a distant empty slot back step by step; and cuckoo hashing gives every key two homes, kicking out whoever is there, so a lookup never reads more than two slots. Each episode runs insert, lookup, and delete on a handful of keys you can check by hand, then compares time, space, and practical trade-offs.

哈希:从哈希表到布谷鸟哈希中文
4 个视频
哈希:从哈希表到布谷鸟哈希

用可视化动画理解哈希表怎样从 key 直接算出位置,以及冲突之后怎么办。先从哈希表本身讲起:拉链把撞在一起的 key 挂成一串,开放寻址往后找空位;表越满查得越慢,而且是突然变慢,这就是 Java 的 HashMap 装到四分之三就扩容的原因。接下来三集都是开放寻址的改进:Robin Hood 哈希让离家更远的 key 抢走离家近的座位,把探测距离拉平;跳房子哈希规定每个 key 离家不超过 H 格,空位太远就把它一格格跳回来;布谷鸟哈希给每个 key 两个家,占了就踢走原住户,查询最坏也只看两格。每集都用几个能手算的 key 把插入、查找和删除走一遍,再比较时间复杂度、空间复杂度和实际取舍。

Graph Algorithms, Visualized: From BFS to A*EN
6 个视频
Graph Algorithms, Visualized: From BFS to A*

See how graph algorithms find their way through places and roads, with clear, step-by-step animations. It starts with BFS and DFS: the same loop, where keeping the waiting places in a queue or a stack changes the whole walk, and BFS gives unweighted shortest paths for free. Then Dijkstra settles the nearest place each round, why a settled distance never changes, and why a negative edge breaks it; add an estimate of the distance left and it becomes A*. In between come connectivity and dependencies: union-find answers \"are these two connected?\" in almost O(1) with path compression and union by rank, Kruskal uses it to build a minimum spanning tree shortest edge first while skipping any edge that closes a loop, and topological sort runs whatever waits on nothing first, with a stall that reveals a cycle. Each episode runs the algorithm on one small, concrete graph, then compares time, space, and practical trade-offs.

图:从 BFS 到 A* 的遍历与最短路中文
6 个视频
图:从 BFS 到 A* 的遍历与最短路

用可视化动画理解图算法怎样在点和边之间找路。先看 BFS 和 DFS:同一个循环,待访问的点放进队列还是栈,走法就完全不同,BFS 还顺便给出无权图的最短路。接着是 Dijkstra:每次敲定离起点最近的点,为什么一旦敲定就不会再变,以及负权边为什么会让它失效;再给它加一个“离终点还有多远”的估计,就成了 A*。中间几集讲连通与依赖:并查集用路径压缩和按秩合并,几乎 O(1) 回答两个点连不连通;Kruskal 靠它从最短的边加起、跳过成环的边,搭出最小生成树;拓扑排序让谁也不等的任务先走,走不完就说明有环。每集都在一张具体的小图上把算法走一遍,再比较时间复杂度、空间复杂度和实际取舍。

Heaps, Visualized: From Binary to Mergeable HeapsEN
7 个视频
Heaps, Visualized: From Binary to Mergeable Heaps

See how heaps keep the one item that matters most at the top through clear, step-by-step animations. Start with binary heaps: a complete tree stored in an array, with sift-up on insert and sift-down on extract-min. Then see how heaps power Top-K, streaming medians, and k-way merge. The final episodes turn to mergeable heaps—leftist, binomial, pairing, and Fibonacci heaps—and the different ways they join two heaps efficiently. Each episode works through a concrete example, then compares time, space, and practical trade-offs.

堆:从二叉堆到可合并堆中文
7 个视频
堆:从二叉堆到可合并堆

用可视化动画理解堆如何只维护最值得关心的那个元素。从二叉堆开始:完全二叉树藏在数组里,插入上浮、取出最小值下沉;接着看 Top-K、数据流中位数和多路归并如何借助堆处理更大的问题。最后进入可合并堆:左偏树、二项堆、配对堆和斐波那契堆,分别用不同方式让两个堆更快合在一起。每集都从具体例子出发,演示操作过程,再比较时间、空间和实际取舍。

Trees, VisualizedEN
10 个视频
Trees, Visualized

See how trees keep ordered data searchable in O(log n), through clear step-by-step animations. It starts with the binary search tree: smaller left, larger right means each search walks one path — until sorted inserts turn the tree into a list, which is the problem AVL trees, red-black trees, skip lists, treaps and Cartesian trees each answer differently. The second half turns to ranges: Fenwick trees and segment trees for prefix sums and range updates, interval trees for every clashing appointment, and Merkle trees, where one hash vouches for all the data. Each episode works through one concrete tree, insertion, deletion and rotation step by step, then compares time and space complexity and the trade-offs behind each design.

树:从二叉搜索树到平衡、区间与校验中文
10 个视频
树:从二叉搜索树到平衡、区间与校验

用可视化动画理解树是怎么把有序数据一直查成 O(log n) 的。从二叉搜索树开始:左小右大让查找沿一条路径走到底,而按顺序插入又会让它退化成链表——这是 AVL、红黑树、跳表、Treap 和笛卡尔树各自给出的答案要解决的问题。后半部分转向另一类问题:Fenwick 树和线段树回答区间求和与区间修改,区间树找出所有时间冲突,Merkle 树用一个哈希值担保整份数据。每集从一棵具体的树出发,演示插入、删除和旋转的每一步,再比较时间复杂度、空间复杂度和实际取舍。

Java 27 New Features ExplainedEN
11 个视频
Java 27 New Features Explained

A JEP-by-JEP walkthrough of what matters in Java 27: primitive type patterns, structured concurrency, lazy constants, and the Vector API; G1 and compact object headers as the new runtime defaults; plus post-quantum TLS, PEM encoding, and JFR data redaction. Each episode covers one change: what was wrong with the old approach, how the new feature works, where it fits, and its trade-offs, so you know what to test and what to adopt when upgrading to Java 27.

Java 27 新特性详解中文
11 个视频
Java 27 新特性详解

逐个讲解 Java 27 的重要 JEP:原始类型模式、结构化并发、惰性常量、Vector API,G1 与紧凑对象头成为运行时默认值,以及后量子 TLS、PEM 编码和 JFR 数据脱敏。每集聚焦一项变化,讲清旧做法的问题、新特性怎么用、适用场景和取舍,帮你判断升级到 Java 27 时哪些需要验证、哪些值得主动采用。

String Algorithms, VisualizedEN
10 个视频
String Algorithms, Visualized

See how string algorithms avoid doing the same work twice through clear, step-by-step animations. Starting with KMP, Boyer–Moore, and Rabin–Karp, this playlist explores prefix matching, right-to-left skipping, rolling hashes, multi-pattern search, tries, and palindrome detection. Each episode uses a concrete example to show the algorithm in motion, then compares its time and space complexity, design trade-offs, and practical uses in search boxes and text search.

字符串算法:从模式匹配到回文搜索中文
10 个视频
字符串算法:从模式匹配到回文搜索

用可视化动画理解字符串算法如何避免重复工作。本播放列表从 KMP、Boyer–Moore 和 Rabin–Karp 开始,逐步讲解前缀匹配、从右往左跳跃、滚动哈希、多模式匹配、Trie 与回文查找,并比较每种方法在速度、空间和适用场景上的取舍。每集从一个具体例子出发,带你看清算法的运行过程、复杂度,以及它们为什么适合搜索框、文本搜索等实际问题。

Data Structures & Algorithms, VisualizedEN
45 个视频
Data Structures & Algorithms, Visualized

Understand data structures and algorithms from first principles through clear, intuitive animations. Each episode focuses on one structure or algorithm: what the straightforward approach costs, how the key idea reduces that cost, how the operations work step by step, and what the time and space complexity really is. The series is organized into six themes—string algorithms, trees, heaps, graphs, hashing, and probabilistic data structures—with episodes on KMP, Boyer–Moore, Dijkstra, red-black trees, Bloom filters, HyperLogLog, and more. Build transferable intuition instead of just memorizing code.

数据结构与算法:可视化原理与实战中文
45 个视频
数据结构与算法:可视化原理与实战

用清晰直观的动画,从零理解数据结构与算法。每集只讲一个结构或算法:先看朴素做法贵在哪里,再一步步演示它如何降低代价,最后比较时间复杂度、空间复杂度和实际取舍。系列按六个主题展开:字符串算法、树、堆、图、哈希,以及概率数据结构;从 KMP、Boyer–Moore 到 Dijkstra、红黑树、布隆过滤器和 HyperLogLog,帮助你建立可迁移的直觉,而不只是背下代码。

Visual Algorithms: HashingEN
2 个视频
Visual Algorithms: Hashing

Visual Algorithms: Hashing

图解实验室|🪐 宇宙图解中文
1 个视频
图解实验室|🪐 宇宙图解

🪐 宇宙图解 用直观的动画和动态图解,探索太阳系、行星、恒星以及更广阔的宇宙。从行星大小对比、轨道运动和引力原理,到航天探索、天文发现和宇宙奥秘,每一集都将复杂的科学知识转化为清晰易懂的视觉体验,让你轻松理解我们所处的宇宙。

Visual Lab | 🪐 Cosmic ExplainedEN
1 个视频
Visual Lab | 🪐 Cosmic Explained

🪐 Cosmic Explained brings the Solar System and the universe to life through engaging animations and motion graphics. Explore planets, stars, gravity, orbital mechanics, space exploration, and the latest astronomical discoveries with clear, visually driven explanations. Every episode transforms complex space science into intuitive stories that are easy to understand and enjoyable to watch.

图解算法:动态规划(Dynamic Programming)中文
14 个视频
图解算法:动态规划(Dynamic Programming)

动态规划是算法中最重要、也是最容易让人困惑的主题之一。本系列通过大量动画、可视化推导和经典案例,从递归、记忆化搜索开始,逐步讲解状态设计、状态转移、DP 表构建以及各种经典动态规划模型,帮助你真正理解动态规划,而不是死记模板。

Visual Algorithms: Dynamic ProgrammingEN
14 个视频
Visual Algorithms: Dynamic Programming

Dynamic Programming is one of the most powerful—and most misunderstood—algorithmic techniques.

图解实验室|⚽ 足球图解中文
1 个视频
图解实验室|⚽ 足球图解

从世界杯传奇到经典战术,用动画讲述足球背后的故事,探索比赛规则、球队历史和球场上的精彩瞬间。

Visual Lab | ⚽ Football ExplainedEN
1 个视频
Visual Lab | ⚽ Football Explained

Explore football through animated stories, tactics, legendary matches, and World Cup moments.

图解实验室|💻 算法图解中文
19 个视频
图解实验室|💻 算法图解

通过动画和图解,拆解复杂算法与数据结构的核心原理。从布隆过滤器、一致性哈希、Trie 树到 HyperLogLog、Count-Min Sketch,用最直观的方式理解计算机世界。

Visual Lab | 💻 Algorithms VisualizedEN
19 个视频
Visual Lab | 💻 Algorithms Visualized

Visual explanations of algorithms and data structures. Explore Bloom Filters, Consistent Hashing, Trie Trees, HyperLogLog, Count-Min Sketch, and more through animations and diagrams.