bjorng

bjorng

Erlang Core Team

Advent of Code 2019 - Day 20

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

There is a private leaderboard for elixirforum members. You can join it by following this link and entering the following code:

39276-eeb74f9a

First Post! Switch mode

bjorng

bjorng

Erlang Core Team

This was a fun one! Here is my solution.

Most Liked

sasajuric

sasajuric

Author of Elixir In Action

I found today a bit finicky. Here’s my solution. Takes about 2 seconds for part 2.

ferd

ferd

Author of Property-Based Testing with PropEr, LYSE, & Erlang in Anger

Nah, I believe I was careful with label order. I’ve been looking at found an issue with my labels and skipping, which I fixed to work the first example, but now fails the second…

I’ve ended up doing the second example by hand (twice!), and agreed with my code in a way that disagreed with their map. I then put my input for part 1 in the box and it passed.

So the way I counted things didn’t match the second example that can reach AA → ZZ in 58 steps, it did it in 59, same as my code. I’m still not too sure what was going on, but I’ll try the rest later for part 2.

Last Post!

ferd

ferd

Author of Property-Based Testing with PropEr, LYSE, & Erlang in Anger

Finally found the time to finish it. It works fine but most of my issues required a huge huge amount of time to debug because I expected them to be with the procedural parts of the BFS and turned out to be minor errors or inconsistencies across the formatting of input maps that turned out to create wildly different behaviours across runs.

It’s almost 3 hours long; I post the video for completeness, not because anyone should lose that much time watching it.

Where Next?

Trending in Challenges Top

Other Trending Topics Top

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
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New

We're in Beta

About us Mission Statement