algorithms-with-crystal

Common programming algorithms written with Crystal

algorithms-with-crystal Build Status

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

  • coprime
  • maxsub
  • isprime

Recursive

  • factorial
  • fibonacci
  • gcd

Search

  • binary
  • linear

Sort

  • bubble
  • insertion
  • selection
  • merge
  • radix

Running tests

$ make test

License

MIT

Repository

algorithms-with-crystal

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • over 7 years ago
  • June 18, 2017
License

MIT License

Links
Synced at

Sat, 21 Dec 2024 21:53:41 GMT

Languages