How to Visualize Algorithms Using the Provided Code

1. Visit algorithm-visualizer.org (large screen devices are recommended)

2. Click the “+” icon

step01

3. Replace the rightmost block with the provided code

step02

4. Click the “Build” button

step03

5. Click the “Play” button to watch the animation or use the green bar to step through it

step04