Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 964 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 964 Bytes

Elixir katas Build Status

Set o elixir katas made from time to time to practice programming in elixir language.

iex> Kata.Sieve.primes(100)
[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41,
 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]
iex> Kata.RLE.encode([1, 2, 2, 2, 3, 4, 4, 5, 6, 6, 6, 6])
[1, {2, 3}, 3, {4, 2}, 5, {6, 4}]

Arabic to roman number kata

iex> Kata.RomanNumeral.converts(28)
"XXVIII"
iex> Kata.FizzBuzz.talk(15)
"FizzBuzz"

Test

mix deps.get
mix test