In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. 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

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
11 - Bolide
 
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 🙂