Catalog of algorithms implemented in most programming languages
rosettacode.org