Advent of Code Day 5

This page summarizes the projects mentioned and recommended in the original post on /r/elixir

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • benchee

    Easy and extensible benchmarking in Elixir providing you with lots of statistics!

  • Working with intervals and writing some functions to apply the maps to those intervals is the key. I did not use Ranges, just {start, end} tuples. The Ranges didn't really provide anything useful for this problem. My version ran in 1.32 ms (benchmarked with Benchee). Here is the code.

  • advent_of_code23

  • Repo

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • advent_of_code

    My Elixir solutions to Advent of Code (by sevenseacat)

  • livebooks

    My collection of Livebooks

  • livebook

    Automate code & data workflows with interactive Elixir notebooks

  • Would highly recommend looking at Jose's use of livebook to answer these. It makes testing easier. It's old but still relevant. Video link inside

  • advent

    Solutions to Advent of Code problems (by jbromley)

  • Working with intervals and writing some functions to apply the maps to those intervals is the key. I did not use Ranges, just {start, end} tuples. The Ranges didn't really provide anything useful for this problem. My version ran in 1.32 ms (benchmarked with Benchee). Here is the code.

  • advent_of_code

  • I made the brute force approach first but wanted to implement it with range projection. Pretty satisfy to with the result (the whole range handling stuff is there for those interested in).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts