General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2022 Day 2 (BaseA Style)

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team

Discussion thread for day 2 of the Advent of Code - https://adventofcode.com/2022/day/2

45 REPLIES 45
DawnDuong
13 - Pulsar
13 - Pulsar

My Day 2 solution. I wonder if there is a more elegant way than using the fixed logic table for Scissors, Paper, Stone...

Spoiler
DawnDuong_0-1670046221792.png

 

peter_gb
9 - Comet

Not elegant, but done. Applies to much in life.

Spoiler
AoC_2.png

clmc9601
13 - Pulsar
13 - Pulsar

Solved a second time using Python #SnakingMyWayThroughChallenges

 

Spoiler
Not a very pythonic solution, but it functions.
Screen Shot 2022-12-03 at 11.13.36 PM.png

KevinHarrison
8 - Asteroid

I surprisingly had a difficult time with this one. I think the approach I took could have been better but that is fine.

Spoiler
KevinHarrison_0-1670136059687.png

 

Shelbey
Alteryx
Alteryx
Spoiler
Shelbey_0-1670282877501.png

 

jpowellsd
Alteryx
Alteryx

I had to write it all out on a cheatsheet to figure it out :)

Spoiler
jpowellsd_0-1670286046936.png

 

Yoshiro_Fujimori
15 - Aurora

My solution:

Spoiler
Yoshiro_Fujimori_0-1670309234056.png

 

Pang_Hee_Choy
12 - Quasar

day2

 

Ladarthure
14 - Magnetar
14 - Magnetar

My solution :)

Spoiler
02.png


RWvanLeeuwen
11 - Bolide

I beget a gentle warming sensation with these holiday-themed practices. Cheers!

Spoiler
2.png
Labels