diff --git a/aoc_2024/src/day21.rs b/aoc_2024/src/day21.rs index cbed375..55b37f2 100644 --- a/aoc_2024/src/day21.rs +++ b/aoc_2024/src/day21.rs @@ -1,6 +1,44 @@ -use aoc_runner_derive::{aoc, aoc_generator}; +use std::iter::once; -#[derive(Debug, Clone, Copy, PartialEq, Eq)] +use aoc_runner_derive::{aoc, aoc_generator}; +use hashbrown::{hash_map::Entry, HashMap}; + +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] +struct Path { + steps: usize, + path: [Option