checksum

Function checksum 

Source
pub fn checksum(input: &[usize], disk_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.