advent_of_code_2024::day_6

Function is_loop

source
fn is_loop(guard: &Guard, lab: &Lab) -> bool
Expand description

Will the guard end up in an infinite loop for the provided lab and starting position