Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA
SOLVED

Challenge #135: Locker Problem

Carlo_SKay
8 - Asteroid
 
jv1
8 - Asteroid
Spoiler
jv1_0-1578406004632.png
rmassambane
10 - Fireball
 
Steph_Maddrell
8 - Asteroid

Enjoyed this one, thanks! My solution attached and screenshots below.....

 

 

Spoiler
I used an iterative macro with a Modulo (mod) function.

Main workflow:
stephM_2-1579168552325.png

Iterative macro:
stephM_1-1579168522467.png 

 

duartepimentel
8 - Asteroid
 
JamesCameron
8 - Asteroid

My Effort

 

Spoiler
It helped knowing that the answer was the square numbers less than 1000 - the power of Maths!

Flow

JamesCameron_0-1579859851689.png

Macro

 

JamesCameron_1-1579859876265.png

kmalone007
8 - Asteroid

Solution 

danicahui
8 - Asteroid
Spoiler
Workflow:
Challenge 135 2020-01-28.jpg
Iterative macro:
Challenge 135 macro 2020-01-28.jpg
mbogusz
9 - Comet
Spoiler
2020-01-26 20_08_03-Greenshot.png2020-01-26 20_08_31-Greenshot.png
sonyakasenkramer
8 - Asteroid

Fun one! It made me wonder how many times the students would have to run through this exercise until all of the lockers were closed again.

Spoiler
sonyakasenkramer_0-1581517307712.pngsonyakasenkramer_1-1581517408043.png

The answer is one more full iteration of 1,000 students. Seemed like that couldn't possibly be correct, and I thought I must've done something wrong when configuring my macro. But it turns out that this is just a beautiful case of symmetry 🙂