advent_of_code_2024::day_8

Function count_antinodes_for_map

source
fn count_antinodes_for_map(
    antenna_map: &AntennaMap,
    sequence_modifier: fn(_: Vec<(usize, usize)>) -> Vec<(usize, usize)>,
) -> usize
Expand description

For all frequencies un the map, find all the antinodes, then count unique coordinates.