Skip to content

Công cụ định dạng & Mã

Trực quan hóa thuật toán

Step through sorts and pathfinding visually.

Runs in your browser

Click Visualise to step through the algorithm.

Ghi chú của biên tập viên

Understanding · Step through the algorithm, watch the invariant.

Chương phân tích chuyên sâu này hiện chỉ có sẵn bằng tiếng Anh. Công cụ chuyển đổi ở trên hoạt động bằng ngôn ngữ của bạn; bài viết giải thích dài chưa được dịch.

Các câu hỏi thường gặp

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.

Mọi người cũng tìm kiếm

Công cụ liên quan

More in this room.

Xem tất cả trong Công cụ định dạng & Mã