the solution is
why visualgo?
visualgo provide illustration of algorithm such as sorting,linkedlist,bitmask,hashtable etc
with global algorithmic you can implement all algorithm to every language programming
for example i'll choose sorting algorithm
SORTING
sorting is the step to sort a data by specific value,in sorting menu, visualgo provide many kind of sorting algorithm such as bubble sort,selection sort,insertion sort,quick sort etc.
in this example i choose bubble sort, to see this algorithm running you just choose
- click (orange menu),choose create
- create the number that will be become the data
- choose Sort
- click GO
you will see the pseudocode in Green Box and the result in Pink Box
you will see the algorithm running step by step and also you can determine the speed when the process running,i always set in low speed if i want understand how this algorithm working
LinkedList
linked list same like Array but Linked list can be called as Array Dynamic because linked list can be ADD or REMOVE depend on your program need,to create linked list you must deep understand the basic, because linked list is more complicated than create usual Array
and now, learn linked list is little easy than you learn from text
you just create the data for your linked list ,and you can use the menu in Blue Box
- Create
- Search
- Insert
- Remove
first create your linkedlist,and choose what the algorithm do you need in linkedlist,don't forget to click Go after you have done set the visualgo, and then you will see the algorithm process in PINK BOX,and the result in yellow box
example search linked list algorithm
Learn Algorithm from visual ?
4/
5
Oleh
Fata EL Islami