Add the following code to your project's shard.yml under:
dependencies
to use in production
- OR -
development_dependencies
to use in development
This is a library that implements the algorithms and datastructures described in Algorithms 4th ed. by Robert Sedgewick and Kevin Wayne.
Booksite: git remote add origin git@github.com:Lillevang/algs.git
ISBN-13: 978-0321573513
ISBN-10: 032157351X
Keep in mind that implementations are purely for training purposes and is not intended to be used for anything other than the exercises in the book. Many of the algorithms and datastructures provided here are already available in the standard library.
The library is build around the same structure a the book:
Additionally there's a utility module containing widely used classes and structs.
Add the dependency to your shard.yml
:
dependencies:
algs:
github: your-github-user/algs
Run shards install
require "algs"
TODO: Write usage instructions here
TODO: Write development instructions here
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)