Visual learning data structures and algorithms

This visualization animation really to our understanding of data structures and algorithms are very helpful, especially at the beginning of the study, called the good anti discouraging tool, so I did some finishing these, hoping to help you.


0x00 data structure online Simulator
Github URL: https://github.com/IACJ/react-datastructer
online at: https://iacj.github.io/react-datastructer/#/

this online simulator contains "stack" "queue", "heap", "BST" and other data structures, each data structure by way of image display in front of us, and also that their help, you can drag and drop data nodes with the mouse, you can achieve deletions of various data structures change search.
Another point is good, this site is accompanied by teaching material data structures, a brief analysis of complex data structures using the example for understanding the principles and use various data structures can be quite a silky ...

also on the site with instructions for use and product briefs, can be quite intimate a ...

casually points to open a "heap", we experience is not trying to hurry up with friends ...


0x01 VisuAlgo
English URL: HTTPS: //visualgo.net/en
Chinese website: https://visualgo.net/zh

VisuAlgo can be said to be relatively high profile of a website animation learning algorithms and data structures passed, it was originally established is through visualization to enable students to better understanding of data structures and algorithms.

VisuAlgo of more feature-rich, it contains a lot of data structures and algorithms, from simple to complex are all included, and for some algorithms emerging having adopted, by means of visual animation to help us more easily thorough understanding algorithms and principles, especially for some of the written description of the algorithm is difficult to understand, is simply the light of life.

VisuAlgo also supports search and switch languages, English students can not switch to Chinese, but now there are a number of algorithms Chinese translation is not complete, so if you can read English, then it is recommended to see the Chinese.


We casually points to open a sort of view, you can see that it contains as much, also with text to explain, single-step, rewind, pause and other functions, is really rich and powerful, of course, it does not stop there, also contains more many things waiting for us to play, quickly into action.


0x02 Data Structure Visualizations
URL: https://www.cs.usfca.edu/~galles/visualization/Algorithms.html

This is a visualization tool for data structures and algorithms of the University of San Francisco, but the content of it involves no more than VisuAlgo, but also it involves a lot of common data structures and algorithms.

We just opened a "stack", the upper left corner there is Push (stop), Pop (pop), Clear Stack (empty stack), the following can set some parameters for the animation, on the specific use, it also needs to do more try:


0x03 Mathimatics-Numerical algorithms Visualizer
Github URL: https://github.com/algorithm-visualizer/algorithm-visualizer
URL: https://algorithm-visualizer.org/

AV also contains many visualization of data structures and algorithms, including dynamic programming, encryption algorithms, backtracking algorithms, this project has 25k + of Star on Github, enough to see its popularity:

the same casually points to open a "binary search tree ", comprises a part of the display area of the process data recording and presentation of the code, and the code portions presentation, animation execution code execution at the same time also to a synchronization step, the code may be appreciated that the principles can also be appreciated that algorithms and procedures, true It is really nice!

0x04 LeetCodeAnimation
URL: https://github.com/MisterBooo/LeetCodeAnimation

this is my good friend programmers Wu brothers (five minutes learning algorithm) maintenance projects have 44k + a star on Github, belonging to the head of fighter.

The project is committed to presenting the solution LeetCode title in the form of animation ideas, we learn data structures and algorithms, it is to use, in particular the practical operation of the actual environment tend to be more to deepen understanding, understanding in the application, the application in understanding can quickly grasp.

For example, to delete the list of the penultimate node N:

Now that the project continues to improve, I think we should look at star.


After writing 0x05

Although several visual animation of this article describes, we can more easily understand the data structures and algorithms, but I suggest that you use this as a tool to assist with the future still have to understand yourself to write about painting, Do not over-reliance as easy to make people lazy.

There is always something new you need to rely on their own to understand, to learn, rather than each time a shortcut leading to the destination, we encourage each other.

Reference Links: Anti discouraging! Data structures and algorithms hard to understand? You easily visualize animation with a thorough understanding! -https://mp.weixin.qq.com/s/8GVAmUMqgaFEGJHI9DdvEQ

 

Guess you like

Origin www.cnblogs.com/Alliswell-WP/p/VisualLearningDataStructureAndAlgorithm.html