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.
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.
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
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
https://adventofcode.com/2023/day/10
Go solution: https://github.com/bgbernovici/advent-of-code/blob/main/Go/2023/day10/day10.go
#adventofcode
https://adventofcode.com/2023/day/10
Go solution: https://github.com/bgbernovici/advent-of-code/blob/main/Go/2023/day10/day10.go
#adventofcode
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
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
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.
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.
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
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
https://adventofcode.com/2023/day/6
Go: https://github.com/bgbernovici/advent-of-code/blob/main/Go/2023/day6/day6.go
https://adventofcode.com/2023/day/6
Go: https://github.com/bgbernovici/advent-of-code/blob/main/Go/2023/day6/day6.go
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
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
https://adventofcode.com/2023/day/3
My Go solution:
https://github.com/bgbernovici/advent-of-code/blob/main/Go/2023/day3/day3.go
#AdventOfCode
https://adventofcode.com/2023/day/3
My Go solution:
https://github.com/bgbernovici/advent-of-code/blob/main/Go/2023/day3/day3.go
#AdventOfCode
Go solution: https://github.com/bgbernovici/advent-of-code/blob/main/Go/2023/day2/day2.go
#AdventOfCode
Go solution: https://github.com/bgbernovici/advent-of-code/blob/main/Go/2023/day2/day2.go
#AdventOfCode
Go: https://t.co/NEdzLcbs0D
Swift: https://t.co/3uV36EDhS0
#AdventOfCode
Go: https://t.co/NEdzLcbs0D
Swift: https://t.co/3uV36EDhS0
#AdventOfCode