“An algorithm must be seen to be believed”, these are the words from Donald Knuth himself, the master who has written the best and comprehensive books on Algorithms. Here are some resources which would help you in visualising some common algorithms:
VisuAlgo: VisuAlgo was conceptualised in 2011 by Dr Steven Halim as a tool to help his students better understand data structures and algorithms, by allowing them to learn the basics on their own and at their own pace. VisuAlgo contains many advanced algorithms that are discussed in Dr Steven Halim’s book (‘Competitive Programming’, co-authored with his brother Dr Felix Halim) and beyond. Today, some of these advanced algorithms visualization/animation can only be found in VisuAlgo.
Algomation: Algomation is a platform for viewing, creating and sharing any type of algorithm. All algorithms on on the site are public and can be viewed and shared by any user of the site. Registered users can create new algorithms or fork existing one.
Vamonos: A dynamic algorithm visualization in the browser. It is also a library for generating browser-based visualizations of algorithms & data structures.
Some interesting videos containing the fusion of folk dance/music with Sorting Algorithms: