# Weekly Challenge

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

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

## Challenge #148: Rotating Century Puzzle

Highlighted
11 - Bolide
"The wheel is turning and you can't slow down,
You can't let go and you can't hold on,
You can't go back and you can't stand still,
If the thunder don't get you then the lightning will."
Listening to Grateful Dead to help me thru this one.
Spoiler

Highlighted
Alteryx

Used a brute force approach but got the same answer...

Highlighted
Alteryx Certified Partner

I liked the idea of ratcheting the rings round 1 by 1, so I went with an iterative macro. Not the most performant solution, but in my head I can hear the 'tick' as it turns each ring round by one position.

Spoiler
Not the most dynamic solution I'm afraid, but it does work 🙂

The macro looked like this:

The formula tools all had the same formula in:

MOD(([Position]+floor([Engine.IterationNumber]/pow(6,[0-5])))-1,6)+1
where the power of 6 would change for each input from 0 to 5
Highlighted
Alteryx Certified Partner

My solution

Spoiler
Highlighted
7 - Meteor

My solution:

Highlighted
8 - Asteroid

Solution attached.

Spoiler
Highlighted
8 - Asteroid

Took me a while to solve it.

Highlighted
8 - Asteroid
Spoiler
Highlighted
Alteryx Partner

Started with the append route, but then couldn't quite figure out the code for the outputs belonging to the same rotation. Ended overcomplicating it with some macro fun.

Spoiler

Highlighted
8 - Asteroid

Interesting challenge and it was a challenge.