Wink Pings

Algorithms Are Learned by Watching, Not by Memorizing

Dilum Sanjaya has turned data structures and algorithms into animated lessons: 86 lessons in 21 languages. For algorithms, system design, network protocols, Arduino, and ESP32, he has built a whole suite of visual learning apps.

Recently, developer Dilum Sanjaya released Byte-Sized Algorithms on X. In his own words: you don’t need to memorize algorithms; you need to watch them move.

The app turns data structures and algorithms into interactive animated lessons. It currently has 86 lessons and supports 21 languages. His description: it helps you build better apps, write better prompts, and pass interviews.

Byte-Sized Algorithms

Dilum is no stranger to building visual learning tools. Over the past month, he has released:

  • System Design: 40 lessons, covering everything from how a request reaches a server to caching, sharding, message queues, and the CAP theorem. He says understanding system design helps you build better apps, even when you’re vibe coding. Vibe coding means describing requirements in natural language, letting AI write the code, and adjusting it as you watch.

  • Protocol Explorer: a visual quick reference for network protocols, with a built-in packet inspector. The app includes 39 protocols, from HTTP and TCP to BGP and WireGuard.

  • Electronics 101: covers resistors, capacitors, transistors, op-amps, the 555 timer, and logic gates, and supports 13 languages. A recent update added 20 lessons.
  • Learn Arduino: 16 lessons, from lighting up an LED to a comprehensive project, with hands-on work circuit by circuit.
  • Learn ESP32: 20 lessons, including Wi-Fi, Bluetooth, sensors, and motors.
  • RoverKit: a robotics build tutorial with a simulator, customizable arenas, and visual code explanations. It supports Arduino and ESP32 and was built with Fable 5.2.

These apps are all hosted directly on Vercel. Several are labeled Made with Opus 5.5.

Someone asked Dilum how he made them. His advice: pick a topic you’re genuinely interested in, and pick a design you truly understand. The most common problems he’s seen in vibe-coded learning apps are low quality and copying someone else’s design without understanding it.

In the comments, someone was preparing for a data structures exam, someone wanted him to make one on design patterns, and someone wanted discrete math and probability. Others disagreed: people who need animation to understand abstract concepts may not be suited for abstract work.

Dilum says he is still working on a more in-depth robotics learning app and an app covering MCP and AI architecture concepts. If you only want to check out one for now, start with Byte-Sized Algorithms. It doesn’t do the exercises for you, but it lets you clearly see what each step is doing.

Original tweet

发布时间: 2026-11-23 05:48