Advent of Code 2020 - BaseA Style (Day 6)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Discussion thread for day 6 of the Advent of Code : https://adventofcode.com/2020/day/6
- Labels:
- Advent of Code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oh so many summarise tools!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Here's my day 6 solution. I had fun learning some new RegEx to get my group tokenising to work 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
So many summarize, so little time. See how much accidental complexity I have means it's time to refactor...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
So well suited to Alteryx.
It's almost like the AoC puzzle elves heard us griping last year. Or maybe one of our AoC++ friends slipped a little rum into the puzzle elves' eggnog.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I solved it using BaseA (not as efficiently as others), and then got part2 down to 3 tools NON BaseA using @jdunkerley79 's alteryx abbacus (plus the varnnumadd function which I don't think I've pushed to his repo yet). My 1 formula tool is a little verbose, but the variable functions are pretty powerful. It's not fully dynamic in that I had to hardcode my last line (otherwise I would have to add another tool). I'm basically just using a flag for each letter and turning it off each time somebody in the group doesn't have that letter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Steph_Maddrell here is a trick for generating the letters a - z without needing the write them out (and risk a mistype).
#HappyFestiveSolving
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Again - probably better suited to Alteryx than a "normal" programming language. Wondering how long that will last?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
