Discussion thread for day 2 of the Advent of Code - https://adventofcode.com/2023/day/2
It was moderate one, and manageable.
This was a nice change for Day 2 after a rough Day 1!
Easier then yesterday's one.
Much better than yesterday!
Cost me time since did not read the instruction carefully ennough. 😁
Done.
Nice to have part 2 be easier than part 1 once in a while.
Not elegant, but got the job done.
It's been a good, good day... because I got to use a new feature from 23.2 Designer release (with the Custom Workflow Template I saved earlier today to use as my quick starting point every day for Advent of Code with a data download macro & input switcher)... AND then I also found a way to use not one, not two, but THREE new functions available in the 23.2 release as well! It feels like Christmas already!! 😁
My solution.
Designer Cloud version
Designer Cloud sampled the data, so I need to run the workflow to know the complete result. But I could make this workflow by the same approach of Designer Desktop.
Not my first draft, but probably one of the simplest forms the solution can take:
Part 1:
Part 2:
How dare they let me regain a tiny bit of confidence!
A lot easier today, no head banging on a saturday morning is appreciable
Silly mistake on my part made this take way longer than it should have, but learnt something new with Regex, so happy with that
A nice simple part 2. I felt like this one was a perfect showcase for Alteryx on splitting data and then aggregating.
Tool Golf
Very similar to others
Tool golf version. 9 tools excluding input tool.
Easier than day 1 and I'm still in it...
Go #TeamMcEleavey!
I was looking for the sneaky trick in part 2 but was pleasantly surprised that there was none.
Today was a good day to get things like setting up a GIT repo; making a donation to AOC to get that ++ tag etc.
thank you for continuing to point out where we can experiment with new features @NicoleJ - it really does help to highlight these new capabilities and give folk muscle-memory to try them.
I'm sure you're looking out for opportunities for the Control Containers to shine!
Similar approach to others. After yesterday, I felt like I had to check for any unexpected colors
W00t on the problem being very procedural!
Oh my goodness part 1 was a bit of a head twister with everything you have to check. Loved that part two was an easier one to solve. Will have a go at removing all the unnecessary tools I used later. Busy day. But glad I solved another day. Whoop.
Day 2 was a lot nicer then day 1 😅
Two more stars done!
Decided to put a little bit more work into this one (while the challenge's are a bit easier) and got part one down to a single tool (not including the text input. quite happy with it
The multi row is configured basically the same as the formula, except it adds the game id as it goes down through the rows, so the value in the end row is the answer
A nicer day! My solution 😊:
Much nicer than Day 1. I kept expecting an awful trick