Attempt to understand why the following algorithm works:
Algorithm:
for
Made with Manim.
https://www.youtube.com/watch?v=8raee-rvBw0
- [1]
$\space$ Stanley P. Y. Fung. Is this the simplest (and most surprising) sorting algorithm ever? 2021. arXiv: 2110.01111 [cs.DS]. - [2]
$\space$ Manim: https://github.com/ManimCommunity/manim