Skip to content

Formateurs & Code

Visualiseur d'algorithmes

Step through sorts and pathfinding visually.

Runs in your browser

Click Visualise to step through the algorithm.

Note de la rédaction

Understanding · Step through the algorithm, watch the invariant.

Ce chapitre approfondi n'est actuellement disponible qu'en anglais. L'outil de conversion ci-dessus fonctionne dans votre langue ; le long article explicatif n'a pas encore été traduit.

Questions fréquentes

Quick answers.

Which algorithms are supported?

The tool visualises common sorting algorithms like QuickSort and MergeSort, as well as pathfinding algorithms such as Dijkstra's and A* Search.

Can I adjust the animation speed?

Yes. Use the speed slider to slow down the execution for step-by-step analysis or speed it up to see the final resulting state quickly.

What data sets can I use?

You can choose between randomly generated arrays, nearly sorted data, or custom inputs to see how different algorithms handle specific edge cases.

Is the visualisation accurate to real-world code?

The logic follows standard algorithmic implementations. While the visualisations include artificial delays for clarity, the sequence of operations matches how these algorithms function in software libraries.

Les internautes recherchent aussi

Outils similaires

More in this room.

Tout voir dans Formateurs & Code