Netto
nettinho.github.io
Netto
@nettinho.github.io
#ElixirLang developer.
Brazil |> Portugal |> Spain
Advent of Code - Day 4 - Part 2

In part 2, the first thing that came in to mind was a sliding window, much like a CNN.
It turned out to be very simple to check for the 4 possible configurations of X-MAS

#ElixirLang #AdventOfCode
December 4, 2024 at 9:19 AM
Advent of Code - Day 4 - Part 1

Instead of searching in all directions, I scan for XMAS normally and rotate the matrix (including diagonally xD)
December 4, 2024 at 9:16 AM
AoC 2024 - Day 3

Looks like we are getting the [easy day / harded day] pattern xD.

#ElixirLang #AdventOfCode
December 3, 2024 at 7:48 AM
December 2, 2024 at 11:48 AM
And so it begins! =D
December 1, 2024 at 11:00 AM
To use it you only need to install the dependency and select the "Smart Advent of Code" option in the Smart Cell'ss dropdown. You will have a code editor below, to develop your solution. You can also toggle if you want to run it with the example input and/or your actual input from AoC
November 26, 2024 at 1:48 PM
It's almost that time of the year where I enthusiastically set up my Advent of Code livebook, just hoping I'll complete more days than the previous year! 😅

Here is a SmartCell I made to have the puzzle into the livebook itself, if you want to give it a try.
github.com/nettinho/smaoc

#ElixirLang
November 26, 2024 at 7:54 AM