ndreynolds / advent-of-code

My Advent of Code solutions in Haskell & Racket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code Solutions

My solutions to https://adventofcode.com/ puzzles.

2018

Advent of Code 2018

This year I’m trying the puzzles in Haskell and Racket.

PuzzleHaskellRacket
Day 1: Chronal CalibrationDay01.hsday01.rkt
Day 2: Inventory Management SystemDay02.hsday02.rkt
Day 3: No Matter How You Slice ItDay03.hs
Day 4: Repose RecordDay04.hs
Day 5: Alchemical ReductionDay05.hs
Day 6: Chronal CoordinatesDay06.hs
Day 7: The Sum of Its PartsDay07.hs
Day 8: Memory ManeuverDay08.hs
Day 9: Marble ManiaDay09.hs
Day 10: The Stars AlignDay10.hs
Day 11: Chronal ChargeDay11.hs
Day 12: Subterranean SustainabilityDay12.hs
Day 13: Mine Cart MadnessDay13.hs
Day 14: Chocolate ChartsDay14.hs
Day 15: Beverage BanditsDay15.hs
Day 16: Chronal ClassificationDay16.hs
Day 17: Reservoir Research
Day 18: Settlers of The North Pole
Day 19: Go With The FlowDay19.hs
Day 20: A Regular Map
Day 22: Chronal Conversion
Day 23: Mode Maze
Day 24: Experimental Emergency Teleportation
Day 25: Four-Dimensional AdventureDay25.hs

2019

Advent of Code 2019

Not committing to any particular language this year. I may switch it up for some puzzles.

I’ve added a nix-shell shebang to each file defining all dependencies, so the solutions can be directly invoked with Nix installed, e.g.:

$ ./Day01.hs < inputs/01.txt
PuzzleSolution
Day 1: The Tyranny of the Rocket EquationDay01.hs
Day 2: 1202 Program AlermDay02.hs

2020

notebook.jl (Using Julia with Pluto.jl)

2021

notebook.jl (Using Julia with Pluto.jl)

2022

notebook.jl (Using Julia with Pluto.jl)

About

My Advent of Code solutions in Haskell & Racket


Languages

Language:HTML 76.6%Language:Julia 14.5%Language:Haskell 8.6%Language:Racket 0.3%