bjorng
Erlang Core Team
Advent of Code 2019 - Day 24
Note: This topic is to talk about Day 24 of the Advent of Code 2019.
There is a private leaderboard for elixirforum members. You can join it by following this linkand entering the following code:
39276-eeb74f9a
Trending in Challenges
Other Trending Topics
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
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
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
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
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
@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
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #performance
- #security











Most Liked
bjorng
A fun one and much easier parsing than the donut maze on Pluto. It still took me a while to find and fix all the bugs for the edge and corner cases (pun intended).
Here is my solution.
sb8244
I thought this was a pretty creative problem, and conceptually simple to grasp. A good one for the end.
For part 2 I was a bit lazy and just hard coded the interesting neighbors with pattern matching. It was a bit of a pain when I pasted without updating, and then had to figure out why it was giving me the wrong answers.
https://github.com/sb8244/advent-of-code-2019/blob/master/lib/24.ex
sasajuric
I really disliked this problem (well, part 2 of it), to the point that I decided not to deal with it yesterday. I found it quite finicky, and otherwise not really challenging. My solution is here. The only semi-interesting thing is the part where I resolve inner/outer adjacent tiles at compile time. I’m not particularly happy with the code in general, nor with the running time (it takes about 2 seconds for the second part), but I don’t feel like improving it.