3 ms·
Here are two other visualizations: https://www.youtube.com/watch?v=8raee-rvBw0 https://www.youtube.com/watch?v=8raee-rvBw0 https://www.youtube.com/watch?v=byd
by layer8 2y ago
Here are two other visualizations:
https://www.youtube.com/watch?v=8raee-rvBw0 https://www.youtube.com/watch?v=8raee-rvBw0
https://www.youtube.com/watch?v=bydMm4cJDeU https://www.youtube.com/watch?v=bydMm4cJDeU
- Mithriil 2y agoThe visualization helped me realize something: The index doesn't change after the swap, so you always end up with the biggest number "in hand" after a full deeper level iteration loop.