advent_of_code_2024::day_9

Function fill_space_with_fragmentation

source
fn fill_space_with_fragmentation(
    files: &mut Vec<File>,
    usage: &mut VecDeque<DiskUsage>,
    space: Space,
    file: File,
)
Expand description

Part 1 space filler - split files to fully fill in every hole