removepaywalls.com/https://medi...
Working great so far
Hey π«£ long time no see! You all still here?
To kick the grind back, Iβm tinkering with a fun project: adding Discord presence to my editor that doesnβt support extensions, using LSP as a workaround
#rust #dev
This yearβs #AdventOfCode was awesome ππ»
Iβll go a bit quiet now to focus on my exams, but Iβll be back soon.
When I return, Iβll continue my project and document the whole journey
I feel you, with exams coming up itβs not easy to keep up either π
I just completed all 12 days of Advent of Code 2025!
A bit late, but it was really fun !
#AdventOfCode #Rust adventofcode.com
oops, removed a plus by accident...
Wow! Itβs been over a week since my last post, lots of unexpected things happened... π€―
I just completed "Reactor" - Day 11 - Advent of Code 2025 #AdventOfCode #Rust adventofcode.com/2025/day/11
View my solution here: github.com/NotAJocke/ao...
Had to rush one of my last project of the Q1 for uni, will catch up #AdventOfCode later todayβ¦
My solution here: github.com/NotAJocke/ao...
Part 1 was easy, a simple BFS did the job.
Part 2 was horribleβ¦ I canβt stand math puzzles, and I even broke my own rule by using an AI to get through it.
I just completed "Factory" - Day 10 - Advent of Code 2025 #AdventOfCode #Rust adventofcode.com/2025/day/10
What was your problem with rust ? π§
I just completed "Movie Theater" - Day 9 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/9
View my solution : github.com/NotAJocke/ao...
Part 1 was easy, but I was scared of what Part 2 might look like π
When I read it, it instantly clicked, we just covered an algorithm at uni that fits perfectly: the PIP algorithm (en.wikipedia.org/wiki/Point_i...)
Maybe not the most optimal approach, I might revisit later
I'm sure it's possible, I've seen posts mentioning a heap queue, didn't have enough time to try
My solution : github.com/NotAJocke/ao...
This one was HARD π
Might revisit it later to see if I can improve performance
I just completed "Playground" - Day 8 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/8
Took a day off yesterday, so I'm catching up πͺ
Starting Day 8 later today
I just completed "Laboratories" - Day 7 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/7
View my solution: github.com/NotAJocke/ao...
Learned the lesson the hard way π₯²
Found time to clean my code !
View my solution here: github.com/NotAJocke/ao...
#AdventOfCode day 6
Part 1 was smooth, but part 2 derailed fast after I assumed (because of the test case) that additions were aligned left and multiplications aligned right. Tried transposing the parsed input from part 1 to be cleverβ¦ and it totally backfired. π
Iβll clean up my code and post it later today!
I just completed "Trash Compactor" - Day 6 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/6
Hey thanks !
Iβve made a huge error, so I must restart, taking a break rn
Iβll post more when Iβll finish
Going down a rabbit hole for part 2, not sure if I still want to live... π
#AdventOfCode
Maybe Cloudflare will fill the missing days this year
Ahah ! Well done π
Ahah ! When I saw the input I told myself I couldn't expand the ranges or my PC would explode
Part 2:
- Parse input into ranges
- Merge overlapping ranges
- Count total number of values covered by all ranges (took ~2 min since all the heavy lifting was already done in part 1)
Part 1:
- Parse input into ranges and ingredients
- Merge overlapping ranges (I knew I couldnβt just expand them when I saw the input)
- Count ingredients that fall within any range using binary search
Blazingly fast today ! β‘
For anyone interested, I'll explain my solutions below.
I just completed "Cafeteria" - Day 5 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/5
My solution: github.com/NotAJocke/ao...