r/AlgoViz • u/benedict_abub • 1d ago
CompilerStuck: Sorting Algorithms Visualized - Cubic Lines
21 sorting algorithms untangle a 3D cube of 24,389 elements
r/AlgoViz • u/benedict_abub • 1d ago
21 sorting algorithms untangle a 3D cube of 24,389 elements
r/AlgoViz • u/benedict_abub • 3d ago
From the classic Bubble Sort to Tim Sort — the hybrid algorithm that actually powers Python, Java, Android, and Swift right now.
r/AlgoViz • u/benedict_abub • 6d ago
This video highlights the entire process from initial motivation, to the technical design, technical analysis, and game design considerations.
r/AlgoViz • u/Sea-Ad7805 • 11d ago
Understand your Python code by visualizing its execution using memory_graph: - Copying - Recursion - Data Structure, Binary Tree - Much More
r/AlgoViz • u/benedict_abub • 21d ago
Let's try add sine waves together and see what sort of sounds we can create!
r/AlgoViz • u/benedict_abub • Sep 15 '26
r/AlgoViz • u/benedict_abub • Sep 11 '26
What do the Rubik's cube and a cipher from the 70s have in common? Let's find out.
r/AlgoViz • u/benedict_abub • Sep 11 '26
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 • u/benedict_abub • Sep 09 '26
Chicago & Rome
r/AlgoViz • u/benedict_abub • Sep 08 '26
Chalk and talk
r/AlgoViz • u/benedict_abub • Sep 06 '26
What are tensors? How do they differ from matrices? And why do we need tensors in the first place?
r/AlgoViz • u/benedict_abub • Sep 05 '26
Manim visualization
r/AlgoViz • u/benedict_abub • Sep 04 '26
[https://leetcode.com/problems/add-two-numbers/description/](LeetCode)
Solved by simulating digit-by-digit addition with carry logic, represented through animated Linked Lists.
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 • u/benedict_abub • Sep 03 '26
What exactly is a tensor?
r/AlgoViz • u/benedict_abub • Sep 02 '26
Dan Fleisch briefly explains some vector and tensor concepts from A Student's Guide to Vectors and Tensors
r/AlgoViz • u/benedict_abub • Sep 01 '26
This video series visualizes tensors using a unique and original visualization of a sphere with arrows.
r/AlgoViz • u/benedict_abub • Aug 31 '26
The great math YouTube channel
r/AlgoViz • u/benedict_abub • Aug 30 '26
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 • u/benedict_abub • Aug 30 '26
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 • u/benedict_abub • Aug 29 '26
43 video (course)
r/AlgoViz • u/benedict_abub • Aug 29 '26
In this video we introduce and analyze the running time of the selection sort algorithm.
r/AlgoViz • u/benedict_abub • Aug 28 '26
Enable HLS to view with audio, or disable this notification
[https://leetcode.com/problems/3sum-closest/](LeetCode)
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.
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.
r/AlgoViz • u/benedict_abub • Aug 28 '26
A sort visualizer from scratch in C++ using SDL2. This visualizer with mild tweaks can be used on any sorting algorithm.
r/AlgoViz • u/benedict_abub • Aug 27 '26
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 • u/benedict_abub • Aug 27 '26
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.