module Algorithms

  1. ext/algorithms/string/string.c
  2. lib/algorithms.rb
  3. show all
Parent: algorithms.rb

The ‘Algorithms and Containers’ library is an effort to provide a set of commonly used algorithms and containers to Ruby programmers.

This is a Google Summer of Code 2008 project

Written by Kanwei Li, mentored by Austin Ziegler

To avoid typing Containers::xxx to initialize containers, include the Containers module.

require 'algorithms'
include Containers

tree = RBTreeMap.new

instead of:

require 'algorithms'

tree = Containers::RBTreeMap.new

Done so far: