Skip to content

Formatadores e Código

Visualizador de Algoritmos

Step through sorts and pathfinding visually.

Runs in your browser

Click Visualise to step through the algorithm.

Nota do editor

Understanding · Step through the algorithm, watch the invariant.

Este capítulo aprofundado está disponível apenas em inglês no momento. A ferramenta de conversão acima funciona no seu idioma; o artigo explicativo longo ainda não foi traduzido.

Perguntas frequentes

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.

As pessoas também pesquisam por

Ferramentas relacionadas

More in this room.

Ver tudo em Formatadores e Código