Advent of Code 2021 Day 4 (BaseA Style)
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
ACE Emeritus
‎12-03-2021
02:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Discussion thread for day 4 of the Advent of Code - https://adventofcode.com/2021/day/4
Labels:
- Labels:
- Advent of Code
25 REPLIES 25
15 - Aurora
‎12-07-2021
04:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks, @joshbennett ! I love how we learn from each other in this space
15 - Aurora
‎12-08-2021
01:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Catching up on the weekend 😬
Spoiler
Workflow
First Part
Second Part
17 - Castor
‎12-10-2021
06:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This was a fun one - these challenges where you have to look for patterns on a board intrigue me.
Spoiler
First part is fairly simple - data import and shaping:
Then call the built-in Alteryx Bingo Macro and either find the last or the first board.
The Bingo Macro is relatively simple - it passes the board through multiple times, marking the cells as done by using YXDB file - then use the list of bingo balls as the iterator
Then the final piece is the scoring macro - super easy:
17 - Castor
‎12-10-2021
07:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This is an elegant solution @AkimasaKajitani - thank you, it gave me something to learn.
glenperes
8 - Asteroid
‎12-11-2021
05:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Spoiler
Managed to do it without an iterative macro

 
caitlynmcintyre
9 - Comet
‎12-15-2021
07:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This one was tough for me because I really confused myself with a stupid mistake, but got there in the end.
Spoiler
My problem was my part 2 macro was telling me which card would win last, not when it would win. I just pushed that card number into my Part 1 macro to get the answer instead of fixing my mistake 🙈



Macro to show first card/which number will give bingo
Macro that gives last card left

- « Previous
- Next »