Advent of Code 2025 - Day 3

An appearance from the Duracell Bunny today, as we compare batteries! Read the full prompt. Part 1 My approach for today was to split up each line of input into an array of digits and then scan through each array, gradually selecting the next largest number available to produce the greatest final result. We store the indices of each largest digit of the number to allow us to skip over sections of…