Skip to content

My repository for holding my solutions to the Advent of Code challenges. More info: https://adventofcode.com/

Notifications You must be signed in to change notification settings

MichaelRol/Advent-of-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code

A repository for holding my solutions to the Advent of Code challenges. More info: https://adventofcode.com/

Each year is written in a different programming language, and all solutions are designed to be completed within 15 seconds on relatively basic hardware.

2024 is written in Typescript. I have written a fair amount of Typescript this year, but I plan to use this opportunity to become more idiomatic.

2023 is written in Java. I have decided to take a year off from abusing myself.

2022 is written in Rust. This was my first attempt at using the Rust programming language.

2021 is written in Swift. This was my first attempt at using the Swift programming language.

2020 is written in Go. This was my first attempt at using the Go programming language.

2019 is written in Java.

Running Challenges

2024 challenges can be run using

$ ts-node run [Day number] [Part number]
or
$ ts-node run [Day number]
to run both parts of a single day
$ ts-node run
to run all problems
can also replace "run" with "test" to run the test cases

2022 challenges can be run using

$ cargo run [Day number] [Part number]
or
$ cargo run
to run all problems

from the 2022/aoc2022 folder

 

2021 challenges can be run using

$ swift run AOC2021 [Day number] [Part number]

from the 2021/ folder

 

2020 challenges can be run using

$ go run Day[Day number]-[1|2].go

from each parts subfolder.

 

2019 challenges can be run by importing the files into an suitable Java IDE (e.g. Eclipse).

About

My repository for holding my solutions to the Advent of Code challenges. More info: https://adventofcode.com/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published