Discussion thread for day 1 of the Advent of Code - https://adventofcode.com/2023/day/1
My solution to day 1. Took me bloody ages to come up with something for part 2!
My Solution
Part 1:
Part 2:
Had to hard code the overlaps. Not sure how else to do it.
Down with Data Cleanse! Even in a challenge this quick, I can't stand the extra time DC takes, so I always unpack it into just the formula I need . . . added in a little bonus automation to make sure nothing fell through the cracks in the second part. 😁 @joshbennett -- great minds!
Classic AoC to give you a tricky part 2
Finally done not the most elegant but it works!
attaching my solution for day one
@starkey, adding containers was a nice touch to hide that we secretly worked together!
Great start to AOC - I feel like I cheated a bit, but going to have a look at how other people did it.
The second part was indeed confusing, but we got her solved.
Second part was indeed confusing but we got it done.
Complete! I borrowed @Tokimatsu's RegEx Replace after my RegEx Replace formulas missed the stupid Part 2 trick
The ReverseString idea from others was genius!
That was a fun one!
My first every AOC attempt "for real" (did one last week to go over in a UG). Didn't get to it until this afternoon, but **bleep**, that second part was a pain! Tried several things but they were hardcoded and I hated that, so I finally came up with a dynamic way using append. Fun fun!
Managed to complete part two with a little rework on my matching list
I'm so excited about this!
I feel like there's an easier way to do this but I got there eventually! 😊
I feel certain I did this the hard way but it's fine 😅
2nd part was tough
Revisiting this problem, enjoy playing tool-golf. 5 tools.
Overlapping numbers 🤢 - took me a while to figure out I didn't know how many letters there are in Three, got there in the end.
Part 2 took a minute but finally there! My solution 😊:
Part 2 took a while!
Wow, Day 1 ended up being a lot more complex (tricky/tedious) than typical for a first problem.
Totally forgot that it would have been very easy to use the find and replace tool..
Only just getting to this now, bit of a ropey start from me using a favourite function for part 2