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

PaulRB
Asteroide
Saqueador
image.png
SueDonim
Asteroide

Pretty decent solution, I think.  Let's see how it stacks up

 

Saqueador
Process
- Append field for all three dice to generate all 216 combinations
- Calculate max, min, median, score for each combination
- Group by score, count instances of each score
- Sort by count (descending)
- Select most common

MySolution.PNG
AllieW
Meteoroide

Used the hacky way with max, median and min.

Saqueador
Dice.PNG
dombaikamilla
Asteroide
 
aihnen
Asteroide

Solution attached.

 

Saqueador
aihnen_0-1574094598426.png  

 

Jonathan-Sherman
15 - Aurora
15 - Aurora

Challenge 168 is done!

 

Saqueador
challenge 168 JMS solution.PNG
OliverJ
Meteoro
 
kmcdaniel
Asteroide
Saqueador
I created individual rows/observations for each of the possible combinations of the three dice. Since these happen with equal probabilities, one can then go about calculating the score for each row.  Using min and max functions to find the highest and lowest of the three dice was straightforward. I used a conditional statement to find the 2nd largest rolled number.

screenshot168.png
echuong1
Alteryx Alumni (Retired)

Revisiting some old challenges

LiD
Asteroide
Saqueador
LiD_0-1576088382674.png