Function aoc::year2016::day16::checksum

source ยท
fn checksum(input: &[usize], step_size: usize) -> String
Expand description

Collect the ones count at each step_size then subtract in pairs to calculate the number of ones in each interval to give the checksum.