Skip to content

TimHi/AdventOfCode

Repository files navigation

Advent of Code 🎅

Collection of my solutions to the Advent of Code problems. 🎄

2023

Tests

Day Stars
01 ⭐⭐
02 ⭐⭐
03 ⭐⭐
05 ⭐⭐
06 ⭐⭐
07 ⭐⭐
08 ⭐⭐
09 ⭐⭐
10 ⭐⭐
11 ⭐⭐
12 ⭐⭐
13 ⭐⭐
14 ⭐⭐
15 ⭐⭐
16 ⭐⭐
17 ⭐⭐
18 ⭐⭐
19 ⭐⭐
20
21
22
23
24
25

2022

Go Tests

Running the different days

Simply open a terminal and run:
go run main.go -day $day -sample=true

  -day int
        Specify the day you want to solve (default -1)
  -sample
        Specify wether you want to use sample [true] or the full [false] input (default true)

Running the tests

Simple run: go test ./... Get coverage: go test ./... -coverprofile cover.out View the coverage: go tool cover -html=cover.out

Language: Go

Day Stars
01 ⭐⭐
02 ⭐⭐
03 ⭐⭐
04 ⭐⭐
05 ⭐⭐
06 ⭐⭐
07 ⭐⭐
08 ⭐⭐
09 ⭐⭐
10 ⭐⭐
11 ⭐⭐
12 ⭐⭐
13
14 ⭐⭐
15 ⭐⭐
16
17
18 ⭐⭐
19
20 ⭐⭐
21

2021

Attempted in Kotlin

Day Stars
01 ⭐⭐
02 ⭐⭐
03 ⭐⭐
04 ⭐⭐
05 ⭐⭐
06 ⭐⭐
07 ⭐⭐
08 ⭐⭐
09 ⭐⭐
10 ⭐⭐
11 ⭐⭐
12
13
14

2020

Attempted to use Rust, not very succesfull.

Day Stars
01 ⭐⭐
02 ⭐⭐
03 ⭐⭐
04 ⭐⭐
05 ⭐⭐
06 ⭐⭐

2017

Also in Go, see 2022.

Day Stars
01 ⭐⭐
02 ⭐⭐