Discussion thread for day 2 of the Advent of Code : https://adventofcode.com/2020/day/2
... When those workflows start running and carols start humming, we sing of good CHEEEEERRRR!!
It's the MOST wonderful TIIIIIIIIME of the YEARRRRRR....
Here's my solutions so far!! Goal this year is to make it to 25* = 8 more than last year. And am 100% going to play my West Coast time zone advantage to my benefit. #ruthless.
Day 1 Solution:
Day 2 Solution:
I find myself so incredibly eager for the next challenge... I know in about a week, this will no longer be the case (IntCode-from-2019, you are the thing of nightmares)... but the delusion of success is bound to endure for at least a few more days, so in the meantime, ONWARD!!
Cheers,
NJ
https://github.com/AlteryxNJ/AdventOfCode_2020
The early morning starts to do not help my brain - no difference between +1 and -1 it'll be fine...
Here's my day 2:
Posted to GitHub: https://github.com/jdunkerley/adventofcode
It's fun challenge!
Here is my solution for day1 and day2.
Day1:
Day2:
Similar to everybody else using regex
Here is my solution! I used RegEx formulas to get the deed done.
Part 1:
Part 2:
Day 2. Not the most efficient, but I must say I was watching a movie at the time.
Here is my solution - a single tool per step with some fun RegEx formulas!
Part 1 + 2:
Here's my solution for day 2
Day 2. Made perfect sense, and I am a fan of substring. Yes, I am.
For some reason opted to split to rows rather than use substring but there we go...!