General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2023 Day 1 (BaseA Style)

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team

Discussion thread for day 1 of the Advent of Code - https://adventofcode.com/2023/day/1

81 REPLIES 81
Gem
9 - Comet

I'm so excited about this! 

 

Spoiler
Day 1 Workflow.JPG

alisonpitt
11 - Bolide

I feel like there's an easier way to do this but I got there eventually! 😊

Spoiler
1-1-ap.png

For part 2 I went the route of finding all the number numbers and word numbers by position, extracting them and putting them back in order before going back to the same workflow as in part 1. This one took a couple tries because I missed 1) the overlapping word numbers, 2) regex won't catch both 'one' and 'two' in twone just using one|two 🙃 Every day's a school day!
1-2-ap.png

 

alisonpitt
11 - Bolide

I feel certain I did this the hard way but it's fine 😅

Spoiler
1-1-ap.png1-2-ap.png
JeffF
Alteryx
Alteryx
Spoiler
2023-12-01_14-48-55.png
Watermark
12 - Quasar
12 - Quasar

2nd part was tough

Spoiler
AOC 23 Day 1.jpg

JoshuaB
Alteryx Product Evangelist
Alteryx Product Evangelist

Really I would think this is something we should look into adding to the find/replace as an option! 

Joshua Burkhow | Chief Evangelist @ Alteryx | Follow me on LinkedIn and Twitter
gawa
15 - Aurora
15 - Aurora

 Revisiting this problem, enjoy playing tool-golf. 5 tools.

Spoiler
image.png
IraWatt
17 - Castor
17 - Castor

Overlapping numbers 🤢 - took me a while to figure out I didn't know how many letters there are in Three, got there in the end.

Spoiler
Day 1.PNG

 

CandiceDB
Alteryx
Alteryx

Part 2 took a minute but finally there! My solution 😊:

 

Spoiler
2023-12-02_16-26-41.png
keylyn
6 - Meteoroid

Part 2 took a while!

Spoiler
Finding the possible number combinations was tricky! I happened to notice the "oneight" in the example, otherwise I think I would have really struggled to figure it out! Day 1 Screenshot.jpg
Labels