Function advent_of_code_2023::day_9::extrapolate_sequence_backwards
source · fn extrapolate_sequence_backwards(sequence: &Vec<i64>) -> i64
Expand description
Unwrap the sequence of delta sequences to extrapolate the previous value in the original sequence. This is equivalent recursively subtracting the first value in the sequence.