Computer Science in JavaScript

2010-01-22 00:00:00 +0000 by Alex R. Young

Computer Science in JavaScript is
a set of classic computer science algorithms implemented in JavaScript.
To download, use git:

git clone git://github.com/nzakas/computer-science-in-javascript.git

This will download a set of scripts that implement base64, linked lists,
binary tree search, sorting, searching and checksums. These actually
cover the first year of the computing degree that I studied -- the
basics of data structures, algorithms and encoding.

Of particular interest to coming of age JavaScript hackers will be the
linked list implementations. The developer, Nicholas C.
has even included unit tests (Written
with YUI). The scripts include comments with explanations of the methods
used, so it's best to check out the code and read it if you want to
explore this collection.