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件の返信81
Gem
コメット

I'm so excited about this! 

 

スポイラ
Day 1 Workflow.JPG

alisonpitt
ボリード

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

スポイラ
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
ボリード

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

スポイラ
1-1-ap.png1-2-ap.png
JeffF
Alteryx
Alteryx
スポイラ
2023-12-01_14-48-55.png
Watermark
12 - Quasar
12 - Quasar

2nd part was tough

スポイラ
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.

スポイラ
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.

スポイラ
Day 1.PNG

 

CandiceDB
Alteryx
Alteryx

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

 

スポイラ
2023-12-02_16-26-41.png
keylyn
メテオロイド

Part 2 took a while!

スポイラ
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
ラベル
トップのソリューション投稿者