DEV Community

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

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.