|
|
@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
## MB’s Advent of Code tips
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Complex numbers are a nice way of modeling two-dimensional positions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Use lists whenever feasible, because there are many useful list functions in the Racket library that don’t have vector equivalents.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* In particular, [these list functions](https://docs.racket-lang.org/reference/pairs.html?q=racket%2Flist#%28part._.Additional_.List_.Functions_and_.Synonyms%29) are very useful.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* The `graph` library can be useful for graph-based problems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## My solutions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I try to write solutions that are succinct but not cryptic.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I don’t optimize for speed.
|