Pardon our dust - Alteryx Academy is under construction. Lessons and courses completed on Community from now until January 20th will not be recorded.
Start 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 #275: Greatest Common Denominator

binu_acs
Polaris
Spoiler
binuacs_0-1625844773844.png

 

GarryBrittain
Meteoroide

First challenge, good start 🔥

 

Spoiler
GarryBrittain_2-1625887075874.png

 


 

mbogusz
Cometa
Spoiler
Weekly Challenge #275 in the canWeekly Challenge #275 in the can
nlensing001
Meteoro

Fun challenge

Spoiler
nlensing001_0-1626002535083.png
dhavaldoshi
Asteroide

How to do it as a beginner?

  • Mathematics: This takes me back to school, I thought of two methods - factorisation and trying every number till the smallest - remember we used to do this for finding if the given number is a complete square?

This isn't exactly an advanced question if you know your math, just like predictive isn't difficult if you know your statistics, so go back to basics! 🙂

 

Spoiler
Solution_275.png
RichoBsJ
Bólido

Hi! Here my solution 🙂

xAJBx
Meteoro

That was fun!  This handles any number of unknown material types as well.

dattu
Meteoroide

My solution. Works well for this dataset. 

cwkoops
Asteroide

My solution

KaneG
Alteryx Alumni (Retired)

I'm sure there's a quicker way by just testing the primes, but that would most likely get the LCD easier... Anyhow, it's not too hard to generate 100 or 1000 rows per existing row.

 

Spoiler
KaneG_0-1626232293037.png