I have to say, the past 25 days were adventurous! Long time SWE, first time doing AoC. I am currently going through the Easter Eggs in the earlier problems.
github.com/ymiseddy/Adv...
I have to say, the past 25 days were adventurous! Long time SWE, first time doing AoC. I am currently going through the Easter Eggs in the earlier problems.
github.com/ymiseddy/Adv...
This one was a complete pain; I haven't worked with binary adders in decades.
I resorted to flat rule checking on this, and surprisingly, it worked.
github.com/ymiseddy/Adv...
This one was a complete pain; I haven't worked with binary adders in decades.
I resorted to flat rule checking on this, and surprisingly, it worked.
github.com/ymiseddy/Adv...
Part two took abnormally long because I got burned by one of Go's footguns in how it handles slices.
github.com/ymiseddy/Adv...
Part two took abnormally long because I got burned by one of Go's footguns in how it handles slices.
github.com/ymiseddy/Adv...
Ok, I stayed up for this one. The hardest part was parsing what the heck these monkeys were doing. 🐒🍌🍌🍌🍌🐒
Ok, I stayed up for this one. The hardest part was parsing what the heck these monkeys were doing. 🐒🍌🍌🍌🍌🐒
I've decided not to stay up late to try to solve these. I'm glad I didn't for this one; it took me quite some time.
I've decided not to stay up late to try to solve these. I'm glad I didn't for this one; it took me quite some time.
I tried a few dumb ways before stumbling on a reasonable way to find cheats. BFS is overkill for finding the initial path since it doesn't branch.
github.com/ymiseddy/Adv...
I tried a few dumb ways before stumbling on a reasonable way to find cheats. BFS is overkill for finding the initial path since it doesn't branch.
github.com/ymiseddy/Adv...
I would have finished this one faster if I hadn't written bugs early on.
github.com/ymiseddy/Adv...
I would have finished this one faster if I hadn't written bugs early on.
github.com/ymiseddy/Adv...
Today, I made it hard for myself, thinking I had to compute the path while the rocks were falling on part 1. After I figured out that mistake, it was straightforward.
github.com/ymiseddy/Adv...
Today, I made it hard for myself, thinking I had to compute the path while the rocks were falling on part 1. After I figured out that mistake, it was straightforward.
github.com/ymiseddy/Adv...
Both parts were interesting - implementing a small assembly language and figuring out how to generate a specific output. I'm surprised my solution worked!
github.com/ymiseddy/Adv...
Both parts were interesting - implementing a small assembly language and figuring out how to generate a specific output. I'm surprised my solution worked!
github.com/ymiseddy/Adv...
Finding Go's heap structure and building a priority queue to implement part 1 took me forever.
Finding Go's heap structure and building a priority queue to implement part 1 took me forever.
I got both of these on the first try tonight. Both parts were straightforward, with no particular tricks involved.
I got both of these on the first try tonight. Both parts were straightforward, with no particular tricks involved.
Part 1 was not too hard; Part 2 took a bit of ingenuity since you don't know what the image is supposed to look like. See comment on line 140.
github.com/ymiseddy/Adv...
Part 1 was not too hard; Part 2 took a bit of ingenuity since you don't know what the image is supposed to look like. See comment on line 140.
github.com/ymiseddy/Adv...
I dipped into Python for this one because I don't know the Go version of numerics well enough to solve this. I may go back later on today (after some sleep) to figure this one out in Go.
I dipped into Python for this one because I don't know the Go version of numerics well enough to solve this. I may go back later on today (after some sleep) to figure this one out in Go.
I started today's problem late and floundered quite a bit on part 2.
github.com/ymiseddy/Adv...
I started today's problem late and floundered quite a bit on part 2.
github.com/ymiseddy/Adv...
It was a real head-scratcher trying to figure out a "fast" path for part 2 🤔. It took a single realization, though. If you give up, see my comment on line 24 🤷♀️.
github.com/ymiseddy/Adv...
It was a real head-scratcher trying to figure out a "fast" path for part 2 🤔. It took a single realization, though. If you give up, see my comment on line 24 🤷♀️.
github.com/ymiseddy/Adv...
Another dynamic programming solution. I accidentally got the answer to part 2 first because I was counting distinct paths. 😀
github.com/ymiseddy/Adv...
Another dynamic programming solution. I accidentally got the answer to part 2 first because I was counting distinct paths. 😀
github.com/ymiseddy/Adv...
This one felt messy to me. Although I like working in Go, I'm beginning to miss features like pattern matching and broadcasting.
Solution: github.com/ymiseddy/Adv...
This one felt messy to me. Although I like working in Go, I'm beginning to miss features like pattern matching and broadcasting.
Solution: github.com/ymiseddy/Adv...
Since someone asked me for my solution yesterday, I will start including links. As standard for AoC solutions, don't judge the code quality/style 😉
github.com/ymiseddy/Adv...
Since someone asked me for my solution yesterday, I will start including links. As standard for AoC solutions, don't judge the code quality/style 😉
github.com/ymiseddy/Adv...
Honestly, I felt this was the most straightforward problem other than Day 1 so far. I used a bit of dynamic programming and got both answers on the first try.
Honestly, I felt this was the most straightforward problem other than Day 1 so far. I used a bit of dynamic programming and got both answers on the first try.
I got a late start on today's puzzle. I brute-forced part 2.
I got a late start on today's puzzle. I brute-forced part 2.
This one gave me a bit more trouble than it should have. But I did get both answers on the first try.
This one gave me a bit more trouble than it should have. But I did get both answers on the first try.
This one was fun. Without giving too much away, it helps to try to generate an output similar to what they do in the sample reveals—this helps you find which cases you may be missing.
This one was fun. Without giving too much away, it helps to try to generate an output similar to what they do in the sample reveals—this helps you find which cases you may be missing.
As a former Perl programmer, Regex for the win!
As a former Perl programmer, Regex for the win!