go/

directory
v0.0.0-...-93c1589 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: MIT

README

Advent of code solutions in GO

Here are my solutions to the "Advent of code" challenges implemented in GO. See https://adventofcode.com/

I discovered "advent of code" in 2021, and did it in bash for the challenge. But since I started learning GO, I decided to code the previous AoC years in GO as a mean to practice it. So, although my bash code can be useful to see some tricks of a seasoned bash programmer, these GO solutions must be considered as "student code".

The code is in GO, with some housekeeping scripts in bash.

I tried to keep each day directory as standalone as possible. For instance, instead of factorizing code that is often used acrosss days, I store them in the TEMPLATES/ directory, and I copy them in the day dir if needed, instead of making separate packages. This is because I keep tweaing them to experiment and do not want to manage backwards compatibility, and ensure you can re-compile my exemple by downloading only the directory of single day without strings attached. Of course, I may publish as proper separate packages on GitHub these libraries once I am confident enough their API is stabilized.

More details in each of the per-year subdirectories.

Directories

Path Synopsis
2016
days/d01
Adventofcode 2016, d01, in go.
Adventofcode 2016, d01, in go.
days/d02
Adventofcode 2016, d02, in go.
Adventofcode 2016, d02, in go.
days/d03
Adventofcode 2016, d03, in go.
Adventofcode 2016, d03, in go.
days/d04
Adventofcode 2016, d04, in go.
Adventofcode 2016, d04, in go.
days/d05
Adventofcode 2016, d05, in go.
Adventofcode 2016, d05, in go.
days/d06
Adventofcode 2016, d06, in go.
Adventofcode 2016, d06, in go.
days/d07
Adventofcode 2016, d07, in go.
Adventofcode 2016, d07, in go.
days/d08
Adventofcode 2016, d08, in go.
Adventofcode 2016, d08, in go.
days/d09
Adventofcode 2016, d09, in go.
Adventofcode 2016, d09, in go.
days/d10
Adventofcode 2016, d10, in go.
Adventofcode 2016, d10, in go.
days/d13
Adventofcode 2016, d13, in go.
Adventofcode 2016, d13, in go.
days/d14
Adventofcode 2016, d14, in go.
Adventofcode 2016, d14, in go.
days/d15
Adventofcode 2016, d15, in go.
Adventofcode 2016, d15, in go.
days/d16
Adventofcode 2016, d16, in go.
Adventofcode 2016, d16, in go.
days/d22
Adventofcode 2016, d22, in go.
Adventofcode 2016, d22, in go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL