r/AlgoViz • • Aug 19 '26

👋 Welcome to r/AlgoViz

1 Upvotes

Hey everyone! I'm a founding moderator of r/AlgoViz.

This is our new home for all things related to algorithm & data structures problem solutions and solving strategy. We're excited to have you join us!

What to Post

Post whatever you want, as long as it is related to solving algorithmic problems and data structures.

Feel free to share your thoughts, photos, code breakdowns, video visualizations, animations, diagrams, or structural schemes.

Thanks for being part of the very first wave. Together, let's make r/AlgoViz amazing.


r/AlgoViz • • 19h ago

Visualization OmniSys: Every Sorting Algorithm Explained in 9 Minutes

Thumbnail
youtube.com
1 Upvotes

From the classic Bubble Sort to Tim Sort — the hybrid algorithm that actually powers Python, Java, Android, and Swift right now.


r/AlgoViz • • 4d ago

t3ssel8r: Giving Personality to Procedural Animations using Math

Thumbnail
youtube.com
1 Upvotes

This video highlights the entire process from initial motivation, to the technical design, technical analysis, and game design considerations.


r/AlgoViz • • 8d ago

Visualizer for the Python Programming Language

3 Upvotes

Understand your Python code by visualizing its execution using memory_graph: - Copying - Recursion - Data Structure, Binary Tree - Much More


r/AlgoViz • • 18d ago

Video Explanation Sebastian Lague: Coding Adventure: Additive Synthesis

Thumbnail
youtube.com
1 Upvotes

Let's try add sine waves together and see what sort of sounds we can create!


r/AlgoViz • • Sep 15 '26

Samson Zhang: Building a neural network FROM SCRATCH

Thumbnail
youtube.com
1 Upvotes

r/AlgoViz • • Sep 11 '26

Visualization Polylog: The trick that solves Rubik’s Cubes and breaks ciphers

Thumbnail
youtube.com
1 Upvotes

What do the Rubik's cube and a cipher from the 70s have in common? Let's find out.


r/AlgoViz • • Sep 11 '26

Spanning Tree: Can You Always Win a Game of Tetris?

Thumbnail
youtube.com
1 Upvotes

If you played the game perfectly, could you always win a game of Tetris? Or is there some sequence of blocks that could force you to lose the game, no matter how good at the game you are? Here, we take a look at some of the mathematics behind a theoretical game of Tetris and reason through whether it's possible to win.


r/AlgoViz • • Sep 09 '26

ones and zeros: A* (A-Star) Pathfinding Algorithm Visualization on a Real Map

Thumbnail
youtube.com
1 Upvotes

Chicago & Rome


r/AlgoViz • • Sep 08 '26

Video Explanation TLMaths: Shell Sort - an example with 7 numbers

Thumbnail
youtube.com
1 Upvotes

Chalk and talk


r/AlgoViz • • Sep 06 '26

Dr. Simulate: What's the difference between matrices and tensors?

Thumbnail
youtube.com
1 Upvotes

What are tensors? How do they differ from matrices? And why do we need tensors in the first place?


r/AlgoViz • • Sep 05 '26

Visualization G Bhat: Visualization of Tower Of Hanoi (5 Disks)

Thumbnail
youtube.com
1 Upvotes

Manim visualization


r/AlgoViz • • Sep 04 '26

Visualization Benabub: Add Two Numbers — LeetCode #2 | Python Algorithm Visualization

Thumbnail
youtube.com
1 Upvotes

Problem Description

[https://leetcode.com/problems/add-two-numbers/description/](LeetCode)


Algorithm Description

Solved by simulating digit-by-digit addition with carry logic, represented through animated Linked Lists.


Complexity Analysis

Time Complexity: O(max(m, n)) — we iterate through the lengths of l1 and l2, where m and n are the number of nodes in each list.

Space Complexity: O(max(m, n)) — the length of the new linked list is at most max(m, n) + 1.


r/AlgoViz • • Sep 03 '26

Video Explanation FloatHeadPhysics: I never intuitively understood Tensors...until now!

Thumbnail
youtube.com
1 Upvotes

What exactly is a tensor?


r/AlgoViz • • Sep 02 '26

Video Explanation Dan Fleisch: What's a Tensor?

Thumbnail
youtube.com
1 Upvotes

Dan Fleisch briefly explains some vector and tensor concepts from A Student's Guide to Vectors and Tensors


r/AlgoViz • • Sep 01 '26

udiprod: Visualization of tensors - part 1

Thumbnail
youtube.com
2 Upvotes

This video series visualizes tensors using a unique and original visualization of a sphere with arrows.


r/AlgoViz • • Aug 31 '26

The Random Professor: Graph Theory Course (99 videos)

Thumbnail
youtube.com
1 Upvotes

The great math YouTube channel


r/AlgoViz • • Aug 30 '26

Florian Ludewig: The Tower of Hanoi (Recursive Formula and Proof by Induction)

Thumbnail
youtube.com
1 Upvotes

We will cover how to create a recursive formula for the Tower of Hanoi issue. After we've found it, I'll show how to find a closed formula and proof it with the help of induction.


r/AlgoViz • • Aug 30 '26

freeCodeCamp: Graph Theory Tutorial from a Google Engineer [6:44]

Thumbnail
youtube.com
1 Upvotes

This full course provides a complete introduction to Graph Theory algorithms in computer science. Knowledge of how to create and design excellent algorithms is an essential skill required in becoming a great programmer.


r/AlgoViz • • Aug 29 '26

WilliamFiset: Graph Theory Algorithms Playlist

Thumbnail
youtube.com
1 Upvotes

43 video (course)


r/AlgoViz • • Aug 29 '26

Professor Painter: Recurrence Relations 1 - Selection Sort

Thumbnail
youtube.com
1 Upvotes

In this video we introduce and analyze the running time of the selection sort algorithm.


r/AlgoViz • • Aug 28 '26

Visualization 3Sum Closest — LeetCode #16 _ Python Algorithm Visualization

Enable HLS to view with audio, or disable this notification

1 Upvotes

Problem Description

[https://leetcode.com/problems/3sum-closest/](LeetCode)


Algorithm Description

The solution first sorts the input array to enable a two-pointer search pattern. For each element, we fix it as a base and use two pointers to scan the remaining array, dynamically tracking the sum with the smallest absolute difference to the target.


Complexity Analysis

Time Complexity: O(n2) — sorting takes O(n log n), and the nested two-pointer traversal takes O(n2) in the worst case.

Space Complexity: O(1) — excluding the input sorting overhead, we use only constant extra memory for pointers and tracking variables.


YouTube

[https://www.youtube.com/watch?v=KYHiijlk-gY](YouTube)


r/AlgoViz • • Aug 28 '26

The Builder: Build a Sort Visualizer From Scratch 👨‍💻️ in SDL2 | C++ Project

Thumbnail
youtube.com
1 Upvotes

A sort visualizer from scratch in C++ using SDL2. This visualizer with mild tweaks can be used on any sorting algorithm.


r/AlgoViz • • Aug 27 '26

Clément Mihailescu: Sorting Visualizer Tutorial (software engineering project)

Thumbnail
youtube.com
1 Upvotes

Author: This video is a tutorial of Sorting Visualizer project, which visualizes the Merge Sort algorithm. This is a great software engineering project to add to your resume.


r/AlgoViz • • Aug 27 '26

The Coding Train: A* Pathfinding Algorithm (Part 1)

Thumbnail
youtube.com
1 Upvotes

In this multi-part coding challenge, author attempt an implementation of the A* Pathfinding Algorithm to find the optimal path between two points in a 2D grid.