algorithms-with-crystal ![Build Status](https://travis-ci.org/yefremov/algorithms-with-crystal.svg?branch=master)
This is a collection of different algorithms written in Crystal. The purpose of this package is to define basic algorithms in a concise, but readable form. However, no (pre)mature optimizations should be expected here and code should never be used in production.
Contents
Iterative
- [x] coprime
- [x] maxsub
- [x] isprime
Recursive
- [x] factorial
- [x] fibonacci
- [x] gcd
Search
- [ ] binary
- [ ] linear
Sort
- [ ] bubble
- [ ] insertion
- [ ] selection
- [ ] merge
- [ ] radix
Running tests
$ make test