Latest #advent-of-code Threads Top

AstonJ
Why did the number of days per event change? It takes a ton of my free time every year to run Advent of Code, and building the puzzles ac...
New
bjorng
defmodule Day12 do def part1(input) do {presents, regions} = parse(input) regions |> Enum.reject(fn region -> ...
New
hauleth
Graph traversals Parse graph = puzzle_input |> String.split("\n", trim: true) |> Map.new(fn <<from::binary-3>> ...
New
sevenseacat
Well some of us wanted a difficulty spike - and today we got one :sweat_smile: https://github.com/sevenseacat/advent_of_code/blob/main/l...
New
vkryukov
We were all waiting for a (more) complex problem, and here it is, finally! As of now, it’s the only problem that has 3x more people who o...
New
vkryukov
Nice little problem. The right data structure is half the solution! defmodule Y2025.Day08 do def pairs(enum) do l = enum |> Enu...
New
bjorng
Part 1 took much more time than part 2. I started out by reusing my grid parsing function from day 4 and start coding before I had fully ...
New
bjorng
defmodule Day06 do def part1(input) do input |> Enum.map(fn line -> line |> String.split(" ", trim: true) ...
New
bjorng
Easy puzzles two days in a row. I suspect tomorrow’s puzzle will not be that easy… defmodule Day05 do def part1(input) do {ranges,...
New
bjorng
defmodule Day04 do def part1(input) do grid = parse(input) Enum.count(removable(grid)) end def part2(input) do grid = ...
New

This Week's Trending Top

This Month's Trending Top

sevenseacat
Well some of us wanted a difficulty spike - and today we got one :sweat_smile: https://github.com/sevenseacat/advent_of_code/blob/main/l...
New

This Year's Trending Top

lud
Hello everyone! This year is going to be shorter, but the difficulty will grow faster. Today I already feel that this is not standard “D...
New
KeithFrost
2025 Dec 03 Lobby defmodule Joltage do def parse_line(s) do String.trim(s) |> to_charlist() |> Enum.map(fn ch -&g...
New
vkryukov
We were all waiting for a (more) complex problem, and here it is, finally! As of now, it’s the only problem that has 3x more people who o...
New
bjorng
“When in doubt, use brute force.” – Ken Thompson defmodule Day02 do def part1(input) do solve(input, &invalid_part1?/1) end ...
New
bjorng
Part 1 took much more time than part 2. I started out by reusing my grid parsing function from day 4 and start coding before I had fully ...
New
bjorng
Easy puzzles two days in a row. I suspect tomorrow’s puzzle will not be that easy… defmodule Day05 do def part1(input) do {ranges,...
New
rvnash
AOC 2025 is right around the corner. Last year, my first year, I just started a raw Elixir application and manually created modules for e...
New
bjorng
defmodule Day04 do def part1(input) do grid = parse(input) Enum.count(removable(grid)) end def part2(input) do grid = ...
New
bjorng
defmodule Day06 do def part1(input) do input |> Enum.map(fn line -> line |> String.split(" ", trim: true) ...
New
vkryukov
Nice little problem. The right data structure is half the solution! defmodule Y2025.Day08 do def pairs(enum) do l = enum |> Enu...
New
bjorng
defmodule Day12 do def part1(input) do {presents, regions} = parse(input) regions |> Enum.reject(fn region -> ...
New
hauleth
Graph traversals Parse graph = puzzle_input |> String.split("\n", trim: true) |> Map.new(fn <<from::binary-3>> ...
New

Last Three Year's Trending Top

adamu
Nobody’s doing Advent of Code this year? :grinning_face_with_smiling_eyes: I might do the first week or so. For Day 1, first I solved i...
New
bjorng
Here is my solution for day 2 of Advent of Code: https://github.com/bjorng/advent-of-code/blob/main/2024/day02/lib/day02.ex
New
christhekeele
Setting this down for the night, as after a quick naive solve for quick part 1 I realize that part 2 is by design computationally expensi...
New
bjorng
Here is my solution for day 1 of Advent of Code: defmodule Day01 do def part1(input) do all = parse(input) {first, second} = E...
New
igorb
Today is a brute-force day: advent-of-code-2024/lib/advent_of_code2024/day6.ex at main · ibarakaiev/advent-of-code-2024 · GitHub Takes a...
New
Aetherus
The second part of today’s puzzle is very misleading. FYI, each of the ghosts has only one possible position that ends with a "Z" on its...
New
Aetherus
I tried to use combinatorial to solve today’s puzzles but failed (my brain burned out :exploding_head:). In the end I just used brute for...
New
code-shoily
Here’s my day 3 code https://github.com/code-shoily/advent_of_code/blob/master/lib/2024/day_03.ex This was quite easy. I was afraid Par...
New
Aetherus
I spent 3 hours struggling in part 2, until I noticed a very basic mistake :joy: Here’s my code: https://github.com/Aetherus/advent-of-...
New
adamu
I said I was on a break, but I took a sneak peak and it looked fun so… Part 1 completes in half a millisecond with a single pass of the ...
New
christhekeele
Thought I’d kick today’s thread off! Parsing Enum rocks, so most of my code was actually in parsing input. ▶ Preprocessing input Part 1...
New
bjorng
Here is my solution for day 4: https://github.com/bjorng/advent-of-code/blob/main/2024/day04/lib/day04.ex
New
Aetherus
Today’s problem is really tense. I don’t think I can do it without libgraph.
New
antoine-duchenet
Everything went smoothly today. Nothing to change to solve part 2 because I already used memoization for part 1 (it looked like an AoC e...
New
Aetherus
Don’t know why the regex ~r/[\W && [^\.]]/x does not work in Elixir. It works pretty well in Ruby. Anyway, here is my solution: ...
New

Trending Over Three Years Top

bjorng
This topic is about Day 1 of the Advent of Code 2021. We have a private leaderboard (shared with users of Erlang Forums): https://adven...
New
connorlay
Note by the Moderators: This topic is for general discussion about the Advent of Code 2018. To prevent people from being spoiled about s...
New
blackode
In General if the Enum.all? evaluates true that means all the elements in the given collection evaluates true for the given callback func...
New
Aetherus
This topic is about Day 3 of the Advent of Code 2020 . Thanks to @egze, we have a private leaderboard: https://adventofcode.com/2020/le...
New
Aetherus
This topic is about Day 7 of the Advent of Code 2020 . Thanks to @egze, we have a private leaderboard: https://adventofcode.com/2020/le...
New
bjorng
Note: This topic is to talk about Day 2 of the Advent of Code 2019 . There is a private leaderboard for elixirforum members. You can joi...
New
woolfred
It is that time of the year again: Advent of Code 2022 :christmas_tree: Day 1 Leaderboard:
New
Aetherus
This topic is about Day 5 of the Advent of Code 2020 . Thanks to @egze, we have a private leaderboard: https://adventofcode.com/2020/le...
New
Aetherus
Hello, guys. I’m back again, but only for the weekends, maybe. This topic is about Day 13 of the Advent of Code 2020 . Thanks to @egze,...
New
bjorng
Note: This topic is to talk about Day 1 of the Advent of Code 2019.
New
cblavier
Hi, there :wave: Today, I felt it was way more challenging! I went through part2 thanks to Agent based memoization (without memoization ...
New
QuinnWilton
Note: This topic is to talk about Day 7 of the Advent of Code 2019 . There is a private leaderboard for elixirforum members. You can joi...
New
christhekeele
Continuation of Advent of Code 2022​:christmas_tree:, Day 1: Day 2! Leaderboard:
New
bjorng
This topic is about Day 17 of the Advent of Code 2020 . Thanks to @egze, we have a private leaderboard: https://adventofcode.com/2020/l...
New
Qqwy
Note by the Moderators: This topic is to talk about Day 6 of the Advent of Code. For general discussion about the Advent of Code 2018 an...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement