Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (16 sloc) 1.36 KB

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.