bjorng
Erlang Core Team
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
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 3- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
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.