Category: Rust

Advent of Code 2019 - Day 9

Another day, another addition for the Intcode computer. We only needed to handle a new parameter mode and a new opcode today. With my design of the computer these additions were pretty easy and it didn't take very long. Also according to the problem…

Read more

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

©2019–2020 Severin Kaderli