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

Challenge #168: Dice Game - Born to Solve

jbrowne02
6 - Meteoroid

I attended this session at the conference so I had a head start but here is my solution.

Ladarthure
14 - Magnetar
14 - Magnetar

My solution, funny one :) 

JORGE4900
8 - Asteroid

I could not arrive at the same conclusion on the output; here is why.

 

I calculate there are (6*6*6) = 216 possible permutations; however, there are only 180 where Dice1 is greater than Dice2 or Dice 2 is greater than Dice 1, which is the same as Dice1 != Dice2. The mode of those 180 calculations is 7 and happens 12 times.

 

Where did I go wrong?

 

Spoiler
2019-06-17_11-56-19.jpg
pasccout
8 - Asteroid

Fun challenge!

phottovy
13 - Pulsar
13 - Pulsar

Got "Inspire"d by the conference and here is my first submission for a weekly challenge.

JohnJPS
15 - Aurora

Fun stuff. I had a brain seizure along the way and found the expected value first.

Spoiler
image.png
Ckaralis
6 - Meteoroid

Here is my solution.

 

I tried to keep in simple...

 

 

Jbrooks
7 - Meteor

Fun challenge

Spoiler
2019-06-17_13-23-39.png

 

Inactive User
Not applicable

This was my first weekly challenge after hearing about it at Inspire - so fun!

Greg_Murray
12 - Quasar
Spoiler
Capture.PNG

My solution.