Function advent_of_code_2021::day_18::max_sum [−][src]
fn max_sum(numbers: &Vec<SnailfishNumber>) -> usizeExpand description
The solution to part two - uses Itertools::permutations to match up each pair of numbers in both orders, map them to the magnitude of the sum, and reduce that to the maximum.
