Skip to content

marty-wang/Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Objective

The idea of the project is to use JavaScript to visualize the mechanics of the common Computer Science algorithms, so that hopefully it can help people understand some basic yet obscure theories.

Implemented Data Structures and Algorithms

Data Structures

Searching

Structure

The src folder contains all the algorithm code, and the demo folder contains the demo/visualization code. The purpose of such organization is to ensure that these algorithm code can be re-used somewhere else, while the demo/visualization code is merely for visualization.

The code is written in CoffeeScript, and the algorithm code is fully tested with Jasmine. Raphael is used to help visualization.

Performance

Be aware that the implementation is in JavaScript and mainly for educational purpose. The performance will probably not be as good as the native implementation from the browser. Here are some preliminary tests.

About

Use JavaScript to visualize CS algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published