Skip to content
Classic Computer Science Problems (in Elixir)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

CCSP in Elxir

This project contains selected problems from the book "Classical Computer Science Problems in Python" translated into Elixir.

For comparison, the source code for CCSP in Python can be found on Github.

There are a handful of goals:

  • Demonstrate an idiomatic Elixir approach to the problems found in the book
  • Showcase differences between programming paradigms as represented by the two languages
  • Provide in-depth explanations of each section via blog posts
  • Minimize the use of external libraries that would do the "heavy lifting" for a solution

If you spot an error, typo, or better approach to a solution, feel free to reach out via creating an Issue or PR.


If available in Hex, the package can be installed by adding ccsp to your list of dependencies in mix.exs:

def deps do
    {:ccsp, "~> 0.1.0"}

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at

Handy Commands

iex -S mix
mix test
mix dialyzer
mix format
You can’t perform that action at this time.