Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

MathFunctions

Build Status Coverage Status

This is a code exercise to implement the following math functions:

  • Min
  • Max
  • Average
  • Mode

The goal is to implement them in the lowest level possible without making use of built-in functions.

Usage

You can run this from iex like so:

$ iex -S mix
$ iex(1)> MathFunctions.min([5, 2, 3])
$ 2

See a detailed view of the test results by running:

$ mix test --trace

About

An example of implementing some math functions using Elixir.

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages