DEV Community

Discussion on: How “Merge Sort” works in JavaScript?

Collapse
 
dsaga profile image
Dusan Petkovic

The animation is great, I can almost understand it lol.. jk

I understand from a general perspective, these kinds of things need to be practiced a few times, maybe even without the code editor.

Collapse
 
dsaga profile image
Dusan Petkovic

The code doesn't make it much easier to understand, so its probably always better to write down on paper

Collapse
 
jaimaldullat profile image
Jaimal Dullat

I agreed. Recursion is a confusing concept even for experienced developers. I know animation doesn't show how the Recursion works, it's just a general working of Merge Sort which helps to understand it a bit easier.