### 15 releases (5 breaking)

0.6.1 | Dec 27, 2023 |
---|---|

0.6.0 | Dec 26, 2023 |

0.5.0 | Dec 17, 2023 |

0.4.1 | Dec 16, 2023 |

0.1.1 | Nov 19, 2023 |

#**775** in Algorithms

**184** downloads per month

**Apache-2.0**

26KB

422 lines

# Advent Of Code Helpers

Various structs and associated methods which may come in useful when solving Advent of Code challenges:

- Compass Direction`Direction`

- Standard 2D Cartesian Coordinate`Coordinate`

- Location with compass direction`Particle`

- Pair of Coordinates describing a rectangle`Rectangle`

- Standard 3D Cartesian Coordinate`Coordinate3d`

- Pair of 3D Coordinates describing a cuboid`Cuboid`

- Used with std::collections::BinaryHeap to implement A* or Djikstra's algorithms`ScoredItem`

- fetches and caches the input for a given day's puzzle`get_daily_input``(``)`

- converts a grid of 0-9 digits to a HashMap<Coordinate, T>`parse_number_grid``<`T`>``(``)`

#### Dependencies

~5–16MB

~233K SLoC