Advent of Code 2025 - Day 3: Lobby
Day 3 was about powering an escalator using batteries. Each battery bank is a string of digits, and the goal is to select specific digits to form the largest possible number. Part 1 was straightforward. Part 2… took some work.
Part 1: Two Batteries
The task: from each string of digits, pick exactly two to form the largest possible two-digit number. For example, from 811111111111119, you’d pick the 8 and 9 to get 89.