The Summer Cup has officially kicked off! Get ready to learn, connect, and compete! Complete Community engagement tasks to earn points and unlock exclusive Summer Cup badges for your profile. 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 #344: World Cup Sweepstakes (Part 1)

FinnCharlton
13 - Pulsar
Spoiler
FinnCharlton_0-1668452273325.png

 

Fun one this week

data_david
5 - Atom

data_david_0-1668463711762.png

 

abdullah_noor23
7 - Meteor

Complete Solution

linda_rydalv
Alteryx Alumni (Retired)

My solution. Tried to make it as dynamic as possible, tried by adding more participants and seems to work:)

sdfsdfsdf
Alteryx
Alteryx

Go Linda!

sdfsdfsdf
Alteryx
Alteryx

Should be Dynamic :). 

Spoiler
Spoiler
344_capture.PNG

leozhang2work
10 - Fireball
Spoiler
A little warning about extra numbersA little warning about extra numbers344 - 1.png

As the requirement didn't mention about even distribution, so random can assign some people more teams than other. Ideally add in House option to balance the number out.

 

Edit: just noticed, for random integer generation, probably should be using random rather RandInt, to avoid equal number. *100 doesn't help.

janwisniewski
Alteryx Alumni (Retired)

Nice I learned something about randomizing lists today!

 

Spoiler
janwisniewski_0-1668521027898.png

 

lugesy
8 - Asteroid
Spoiler
344_Workflow.png
NathalieHP
8 - Asteroid

My solution to the challenge :)