Advent of Code 2019 - Day 8

The problem of today was about decoding pixels for an "image". The first part was to determine which of the layers of the image contained the most zeroes and the second part was to print out the image data to get the password. Code Benchmarks

Read more

Advent of Code 2019 - Day 7

The problem today was an application of our Intcode interpreter that we wrote on day 5. Part 1 was very easy to do with my existing design of the Intcode machine but for part 2 I needed to change a few things. First of all I added different ExitCode…

Read more

Advent of Code 2019 - Day 6

Today's problem was about finding paths in a graph of orbits. The first part was easily solvable using some recursion to get the total number of direct and indirect connections. The second part was to find the distance between two specific orbits…

Read more

Advent of Code 2019 - Day 5

The task today was to extend the interpreter written on day 2 with new opcodes. Implementing the new opcodes was not difficult but handling the different modes for the parameter and overall design was a bit of work. Overall this was very interesting…

Read more

Advent of Code 2019 - Day 4

Another day done, just 20 more left. Today's challenge was this time easier than yesterday's. I just wasted a lot of time because I'm bad at math and my get_digits truncated one of the digits at first. Otherwise it was easy todo. Code Benchmarks

Read more

©2019–2020 Severin Kaderli