sasajuric

sasajuric

Author of Elixir In Action

Note: This topic is to talk about Day 17 of the Advent of Code.

For general discussion about the Advent of Code 2018 and links to topics of the other days, see this topic.

Showing Posts 1 to 3

sasajuric

sasajuric OP

Author of Elixir In Action

Today was quite tricky. In the end I solved it by using a depth-first recursive approach. It works reasonably fast (under a second). The code is available here.

bjorng

bjorng

Erlang Core Team

Here is my solution. It runs in about 30 seconds.

JEG2

JEG2

Author of Designing Elixir Systems with OTP

Here’s my solution:

https://github.com/JEG2/advent_of_code_2018/blob/master/day_17/reservoir_research.exs

It’s very fast, but I admit that I had to download @sasajuric’s code to figure out how to fix a particularly nasty bug I introduced.

— All posts loaded —

Where Next? Top

Trending in Challenges Top

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews