Function aoc::year2019::day20::parse

source ยท
pub fn parse(input: &str) -> Maze
Expand description

Parsing takes two passes. First we find the location of each portal. Then we BFS from each portal to build a list of distance pairs.