Bogdan Bernovici
bogdan.bernovici.com
Bogdan Bernovici
@bogdan.bernovici.com
🇷🇴 🇬🇧
Advent of Code 2023, Day 12

This one took me longer than I had anticipated. Even though it successfully solved the sample input on the first try, the same couldn't be said for the personalized one. I spent most of the night rewriting it because my solution was not cacheable.
September 19, 2025 at 12:49 PM
Advent of Code 2023, Day 11

Today's problem was quite tricky as I lost some time with an algorithm that was unfit but I haven't noticed until late into the solution.

Go solution (with Manhattan distance, 500ms runtime both parts): https://t.co/XO3cSJRrVm

#adventofcode
advent-of-code/Go/2023/day11_manhattan/day11_manhattan.go at main · bgbernovici/advent-of-code
Contribute to bgbernovici/advent-of-code development by creating an account on GitHub.
github.com
September 19, 2025 at 12:49 PM
Advent of Code 2023, Day 9

Interesting day, both parts run in just 2ms.

Go solution: https://github.com/bgbernovici/advent-of-code/blob/main/Go/2023/day9/day9.go

#adventofcode
advent-of-code/Go/2023/day9/day9.go at main · bgbernovici/advent-of-code
Contribute to bgbernovici/advent-of-code development by creating an account on GitHub.
github.com
September 19, 2025 at 12:49 PM
Advent of Code 2023, Day 8

I initially believed that altering the exit condition and iterating through every A to Z would suffice for the second part. However, it turned out that my assumption was incorrect, as it oscillates too much.
September 19, 2025 at 12:49 PM
Advent of Code 2023, Day 7
https://adventofcode.com/2023/day/7

My spaghetti (Go)lognese solution: https://github.com/bgbernovici/advent-of-code/blob/main/Go/2023/day7/day7.go

Though it is quite fast, the combined running time of both parts is only 5ms.

#adventofcode
September 19, 2025 at 12:49 PM
#AdventOfCode 2023, Day 4

Java is so ingrained in my mind that even when I am using Rust, I feel like I am not utilizing the idiomatic facilities provided by the language, but rather some form of Java-esque Rust.

Rust: https://t.co/myjbsqXlpM

Go: https://t.co/S0fsU0c5J2
advent-of-code/Rust/src/year_2023/day4.rs at main · bgbernovici/advent-of-code
Contribute to bgbernovici/advent-of-code development by creating an account on GitHub.
github.com
September 19, 2025 at 12:49 PM
September 19, 2025 at 12:49 PM
I had to Go Swiftly through the first day of Advent of Code 2023. Below you can find my solutions in both Go and Swift:

Go: https://t.co/NEdzLcbs0D
Swift: https://t.co/3uV36EDhS0

#AdventOfCode
advent-of-code/Go/2023/day1/day1.go at main · bgbernovici/advent-of-code
Contribute to bgbernovici/advent-of-code development by creating an account on GitHub.
github.com
September 19, 2025 at 12:49 PM
My endeavour into #Swift programming language on #Windows culminated with a word guessing game. Had a lot of fun building this. If you are wondering why the text looks so strange, it's because it doesn't render fonts. Letters are manually crafted using lines and Bezier curves.
September 19, 2025 at 12:48 PM