My Julia solutions to Advent of Code 2021 (also known as AoC2021) in this most bright time of the year.
When working on my solutions, I aim to make them as universal as possible, that is, they could be used to solve similar problems, with a bit of tweaking. Elegance, readability, and efficiency, in this order, are also my concerns, though secondary after generality.
Install the following Julia package(s), if necessary.
DataStructures.jl
: used in days fourteen and fifteen.
For each day N use either
-
julia src/day
N
.jl inputs/day
N
.txt
, or -
chmod +x src/day
N
.jl
;src/./day
N
.jl inputs/day
N
.txt
.
This repository is licensed with the MIT (Expat) (SPDX-License-Identifier: MIT); everyone with a copy of this software is permitted to use, modify, distribute and/or sublicense it, provided that the LICENSE and the copyright headers on the top of each source file are preserved in copies of this package.
There is no warranty of any kind for this material, nor the author is liable for any third-party use of this collection. For more details and clarification, please read the LICENSE in full text.