| Crates.io | aochelpers |
| lib.rs | aochelpers |
| version | 0.9.2 |
| created_at | 2023-11-19 20:29:59.22692+00 |
| updated_at | 2025-12-10 12:44:00.049664+00 |
| description | A set of structs and associated methods that cover common use=cases when solving Advent Of Code problems. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1041502 |
| size | 91,112 |
Various structs and associated methods which may come in useful when solving Advent of Code challenges:
Direction - Compass DirectionCoordinate - Standard 2D Cartesian CoordinateParticle - Location with compass directionRectangle - Pair of Coordinates describing a rectangleCoordinate3d - Standard 3D Cartesian CoordinateCuboid - Pair of 3D Coordinates describing a cuboidScoredItem - Used with std::collections::BinaryHeap to implement A* or Djikstra's algorithmsget_daily_input() - fetches and caches the input for a given day's puzzleparse_number_grid<T>() - converts a grid of 0-9 digits to a HashMap<Coordinate