3 ms·
That’s exactly what I pivoted to once I realized my naive replace wouldn’t work. That sort of moment is what makes AoC feel so rewarding in my opinion. impl fu
by rileymichael 3y ago
That’s exactly what I pivoted to once I realized my naive replace wouldn’t work. That sort of moment is what makes AoC feel so rewarding in my opinion.
impl fully showing the trick: https://github.com/rileymichael/aoc-2023/blob/master/src/main/kotlin/day1/Day1.kt https://github.com/rileymichael/aoc-2023/blob/master/src/mai...