Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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

Challenge #73: Plinko Probabilities

Brian32
8 - Asteroid

Challenge Solution:

Spoiler
Brian32_0-1661977112919.png

 

acarter881
12 - Quasar

Here's my solution.

 

Spoiler
my_weekly_challenge_73_solution.png

 

 

Kinga
8 - Asteroid

Hi,

 

when I was creating my solution, I assumed that ball cannot go outside of this Plinko Tree.

Kinga_0-1667929596846.png

 

That's why results I received are different then the official solution. 

 

Spoiler
Outer macro (standard one)
Kinga_1-1667929722890.png

Inter macro (iterative):

Kinga_2-1667929767456.png

 

 

grazitti_sapna
17 - Castor

My plinko Solution:

Sapna Gupta
FrederikE
13 - Pulsar
Spoiler
FrederikE_0-1669226393105.pngFrederikE_1-1669226397154.png

 

 

 

JamesCharnley
13 - Pulsar
Spoiler
JamesCharnley_0-1669371882910.png

 

I messed up the logic at the start of my workflow so a macro wasn't possible without going back and changing it. What was possible however, and definitely faster in this one off instance, was copying and pasting with very minor tweaks. An arguable Alteryx sin but I don't take it back. The general logic is included in the pic.

Ladarthure
14 - Magnetar
14 - Magnetar

My solution, tried to make it as repeatable as possible!

lhalliwell
8 - Asteroid
Spoiler
Screenshot 2023-01-10 100707.jpg
Screenshot 2023-01-10 100846.jpg

  

Hiblet
10 - Fireball

*Sigh* The provided solution does not account for the ball hitting the wall. I got the same target value, 0.109375, which is the result for an unbound Pascal's Triangle starting at 0.25 on layer 3, so looks right.  All of the other values are different, because of wall bounces, so I think Alteryx have been very sly here.  If Alteryx had asked us to find a different end point, the provided solution would have had to be more sophisticated.

 

Approach; I built a macro that added a layer of pegs and worked out the odds from the parent row above.  I added a wall algorithm, and made the wall values movable so you could work out different odds for different width boards and different entry points relative to the walls.  I wrapped the iterative macro in an outer macro to put an interface on and add columns that the iterative macro expects.  The ball entry point is X coordinate zero, and walls are defined by how many possible pegs away from zero they are, to allow for an asymmetric ball entry position.

 

This was a great challenge, really hard if you want it to be...

 

 

                      X ORDER COORD
             -7 -6 -5 -4 -3 -2 -1  0  1  2  3
       LAYER
         0  ||o     o     o     o  X  o     o||
         1  ||   o     o     o     o     o   ||
         2  ||o     o     o     o     o     o||
         3  ||   o     o     o     o     o   ||
         4  ||o     o     o     o     o     o||
         5  ||   o     o     o     o     o   ||
         6  ||o     o     o     o     o     o||
         7  ||   o     o     o     o     o   ||
         8  ||o  ?  o  Y  o  ?  o  ?  o  ?  o||

 

Wall Values  7                               3

TungThanhHo
8 - Asteroid

my solution

TungThanhHo_0-1673997765102.png