https://github.com/trekhleb/javascript-algorithms
This is a demo page created from a forked version of the main repository.
Open DevTools to view results. Using DevTools you can step through the code to see how the algorithms work.