The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

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 RESPOSTAS 81
Gem
Cometa

I'm so excited about this! 

 

Saqueador
Day 1 Workflow.JPG

alisonpitt
Bólide

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

Saqueador
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
Bólide

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

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

2nd part was tough

Saqueador
AOC 23 Day 1.jpg

JoshuaB
Alteryx
Alteryx

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
16 - Nebula
16 - Nebula

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

Saqueador
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.

Saqueador
Day 1.PNG

 

CandiceDB
Alteryx
Alteryx

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

 

Saqueador
2023-12-02_16-26-41.png
keylyn
Meteoroide

Part 2 took a while!

Saqueador
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
Rótulos