Discussion thread for day 4 of the Advent of Code - https://adventofcode.com/2021/day/4
Thanks, @joshbennett ! I love how we learn from each other in this space
Catching up on the weekend 😬
This was a fun one - these challenges where you have to look for patterns on a board intrigue me.
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:
This is an elegant solution @AkimasaKajitani - thank you, it gave me something to learn.
This one was tough for me because I really confused myself with a stupid mistake, but got there in the end.
Macro to show first card/which number will give bingo
Macro that gives last card left