adventofcode/2018
2018-12-09 23:46:35 -05:00
..
internal First (unsuccessful) attempt at day 7.1. 2018-12-09 23:46:35 -05:00
.gitignore Add inputs/ dir to gitignore. 2018-12-04 03:30:37 -05:00
day01-1.go Re-implement a solution for the first day 1 puzzle, move common code into a library package. 2018-12-01 22:13:08 -05:00
day01-2.go Re-implement a solution for the first day 1 puzzle, move common code into a library package. 2018-12-01 22:13:08 -05:00
day02-1.go Add day 2 solution. 2018-12-02 00:40:11 -05:00
day02-2.go Re-write day 2 solution to run in O(n*m) time. 2018-12-02 02:27:10 -05:00
day03-1.go Day 3 solution. 2018-12-03 16:53:58 -05:00
day03-2.go Day 3 solution. 2018-12-03 16:53:58 -05:00
day04-1.go Refactor common guard code into library. 2018-12-04 03:30:22 -05:00
day04-2.go Day 4 solution, part 2. 2018-12-04 03:34:23 -05:00
day05-1.go Refactor day 5 solution for working on part 2. 2018-12-05 03:53:01 -05:00
day05-2.go Day 5, part 2. 2018-12-05 04:04:53 -05:00
day06-1.go Day 6 part 1. 2018-12-06 02:23:45 -05:00
day06-2.go Day 6, part 2. A bit brute-force, but it gets the job done. 2018-12-06 11:48:51 -05:00
day07-1.go First (unsuccessful) attempt at day 7.1. 2018-12-09 23:46:35 -05:00
Makefile Add metadata. 2018-12-02 00:39:53 -05:00
readme.md Update readme 2018-12-03 16:56:06 -05:00

2018 Advent of Code solutions

This year, I'll be getting some golang practice.

Running these solutions requires golang 1.11 or newer to build. If your distribution doesn't offer a new enough version, running in docker is as easy as:

docker run --rm -it -v $(pwd):/go/src/ -w /go/src golang:1.11 go build dayXX-X.go

The makefile also uses docker, so you can just run:

make dayXX-X