aoc::year2024::day23

Function parse

Source
pub fn parse(input: &str) -> (FastMap<usize, Vec<usize>>, Vec<[bool; 676]>)
Expand description

Convert each character pair xy to an index from 0..676 so that we can use much faster array lookup instead of a HashMap.