Exercises from Chapter 3, Section 5: Trees
This repo is part of my blog series on Learning Elixir in which I work through exercises from Functional Programming in Scala using Elixir.
These exercises have a companion post that describes some of the more interesting exercises in detail: Tree Operations in Elixir
If you'd like to work through the exercises yourself you can use my tests as a guide. To do this:
- Clone the repo
- Remove lib/trees.ex and replace it with an empty file
- Run
mix test
- Implement functions until the tests pass