diff --git a/src/day09/mod.rs b/src/day09/mod.rs index 99aadc0..3f11394 100644 --- a/src/day09/mod.rs +++ b/src/day09/mod.rs @@ -22,6 +22,16 @@ pub fn main() { } } +fn expand(strct: &mut Vec>) { + let last = strct + .last_mut() + .unwrap(); + last.push(*last + .last() + .unwrap() + ); +} + fn extra_diff(seq: Vec) -> Vec> { let mut structure = vec![seq]; let mut index = 0;