Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

317 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2020

Organization

Project contains multiple packages in a cargo workspace.

  • The advent_2020 package contains Advent of Code problem solutions
  • The parser package contains a simple parser combinator library that seemed rather relevant. It's a port of the F# example found on fsharpforfunandprofit.com. For any serious work you should probably consult one of the parser combinator crates on crates.io.

Notes:

  • Day 13 pt 2: Particularly unpleasant to discover that I apparently should have a priori knowledge of a mathematical theorem I've never had any reason to encounter.
  • Day 17 pt 1: The examples in which the "frame of view follows the active cells in each cycle" are completely unreadable to me. I couldn't write the tests I wanted and spent a number of extra minutes scratching my head because one specific unit test was failing, all the while not noticing that my test of the overall solution was already passing.
  • Day 20 pt 2: Doesn't seem hard in any sense, but for some reason I struggled to get my solution working. I didn't end up altering my overall approach, but I needed a 3rd party to find which component was malfunctioning. Feels bad man.
  • Day 23 pt 2: The difference between an index focused (ie terrible) approach and a label/link focused approach is incredibly huge. Release build optimizations are also nearly an order of magnitude difference in execution time, but that has little to do with my code; just an interesting sidenote.

About

Advent of Code 2020

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages