Wink Pings

86 animated lessons that break algorithms down step by step for you

Dilum Sanjaya built AlgoLab, a free website that teaches data structures and algorithms with 86 animated lessons. It also includes several visual learning apps for system design, network protocols, electronics, and robotics simulation.

Dilum Sanjaya built AlgoLab, a free website that teaches data structures and algorithms with 86 animated lessons. Charly Wargnier recommended it on X, saying that each lesson walks through a problem and shows what happens at every step: what moves, what gets compared, what gets added. Link: https://byte-sized-algorithms.vercel.app

Dilum wrote in his tweet: You don't need to memorize algorithms. You need to see them move. His explanation is straightforward: it helps you build better apps, write better prompts, and pass interviews. That claim is a bit big, but AlgoLab's approach is indeed concrete. The course starts with Big-O, memory and pointers, recursion, and divide and conquer, then covers arrays and strings, linked lists, stacks and queues, hashing, trees, heaps, graphs, sorting and searching, greedy algorithms, backtracking, dynamic programming, bit manipulation, and finally P vs NP. The website shows 86 lessons, while Dilum's tweet says 86 lessons in 21 languages.

Each lesson doesn't start with a definition and then ask you to memorize it. Take Big-O as an example: the page breaks the process into 7 steps: first count steps rather than seconds, then increase the input from 2 to 4 to 8, and then show the growth shapes of O(1), O(log n), O(n), and O(n²) separately. On the right side of the page there is pseudocode and a step counter, and you can use the left and right arrow keys to step through it. For people without an algorithms background, this pace is friendlier than looking straight at formulas; for people with a development background, it can quickly fill in intuition. It is rare for a free resource to reach this level of density.

The author didn't only make AlgoLab. The reply thread also includes several similar visual learning apps.

System design, 40 lessons: https://designed-to-scale.vercel.app
Starting from how a request travels, it covers latency and throughput, vertical and horizontal scaling, load balancing, caching, CDNs, SQL and NoSQL, indexes, replication, sharding, CAP, consensus, message queues, rate limiting, observability, microservices, Sagas, authentication and authorization, CI/CD, and finally lands on designing URL shorteners, feeds, and chat systems. The first lesson breaks DNS lookup, connection, request, and download into 10 steps and gives the time cost of each segment.

Protocol explorer: https://protocol-explorer-alpha.vercel.app
Covers 39 internet protocols, from HTTP, HTTPS, WebSocket, WebRTC, QUIC, TCP, UDP, IP, BGP, DNS, DNSSEC, DHCP, TLS, SSH, SMTP, IMAP to Wi-Fi, WPA3, RADIUS, WireGuard, IPsec, and even Modbus. Each protocol uses step-by-step animations to show the handshake, request, response, and close, with a packet inspector. Dilum says in his tweet that this app is for people who nod when they hear TCP handshake or DNS query but cannot explain exactly how it works.

Electronics 101: https://electronics-101-six.vercel.app
Updated with 20 new lessons, where you can play with logic gates, op-amps, and 555 timers.

Robotics kit RoverKit: https://roverkit.vercel.app
Teaches robot building with a simulator, customizable arenas, and visual code walkthroughs, and supports Arduino and ESP32. Dilum says it was built with Fable 5.2.

A commenter under Charly's post wrote: this would've saved so many people from staring at recursion for hours. Another commenter said that 86 lessons for free is a gift. These reactions are not surprising. Algorithms and protocols are hard often because the process is invisible. Textbooks give conclusions, interview questions give answers, and intermediate states are omitted. Apps like AlgoLab keep the intermediate states visible, letting you pause, replay, and watch how variables change. It doesn't guarantee you'll learn it in one pass, but it lowers the barrier to the first step.

For AI practitioners, system design and protocol visualizations are directly useful. Writing prompts, calling APIs, troubleshooting latency, and understanding the request chain behind model serving all depend on these fundamentals. For non-technical readers, the protocol explorer and the first system design lesson are concrete enough: which machines a page load actually goes through, and where the time is spent. Look at the process first, then decide whether to go deeper.

发布时间: 2026-11-28 14:32