Kata::Algorithms
A set of algorithm implementations in Ruby.
While reading the book Algorithms in a Nutshell, we have decided to implement a set of the algorithms presented there.
Installation
Add this line to your application's Gemfile:
gem 'algorithms'
And then execute:
$ bundle
Or install it yourself as:
$ gem install algorithms
Usage
If you want to run a set of programs that use the algorithms
implemented, you can find them in the bin
folder.
For example:
bundle exec bin/addition
demonstrates the Algorithms.addition
algorithm implementation.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request