Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
IDEAS WANTED

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

Challenge #200: Sudoku Solver

Highlighted
Alteryx Partner

 

Beginner and Intermediate solutions attached. Will have a look at advanced next but it looks really tough!

 

Spoiler
bstroh_0-1580168830768.png
Highlighted
13 - Pulsar

And that makes 200!  Beginner, Intermediate, and Advanced solutions.  I think I channeled @patrick_digan on this one.  Could have made the standard macro iterative to reduce number of tools, but runs fast and works as is.  I still prefer the "brain and pencil" method, but nice to be able to create a workflow of how my brain solves Sudoku puzzles.  

 

Spoiler
Iterative MacroIterative Macro

 

Std MacroStd Macro

 

WorkflowWorkflow

 

 

Highlighted
7 - Meteor
Spoiler
Beginner and Intermediate done. I'll post the solutions for advanced when I have more time later.
LifebloomX_0-1580174894901.png

 

Highlighted
9 - Comet

I had fun solving the intermediate. I did have to talk myself into using strings instead of math! I will attempt the advanced later for practice writing iterative macros. - terry10

 

Spoiler
Spoiler
challenge 200 ss.PNG

 

Highlighted
13 - Pulsar

Here is solution for intermediate leave. 

 

Spoiler
Capture.PNG

 

Highlighted
8 - Asteroid

Solved Beginner level!

 

Spoiler
nivi_s_0-1580179767148.png
Highlighted
6 - Meteoroid

Here's my attempt at Beginner and Intermediate

Spoiler
  Beginner.pngIntermediate.png

 

Highlighted
Alteryx Partner

Beginner wasn't really a challenge and intermediate/advanced are basically the same when you try a general approach.

 

I solved it with a iterative macro and the approach to check rows/columns/tiles. No Python, No R involved. 

Highlighted
8 - Asteroid

Here is my beginner solution... will need to work on more of it to get to intermediate and advances

Highlighted
Alteryx Certified Partner

I stuck with the Beginner solution which I solved by using the RegEx tool twice (attached workflow)

 

Spoiler
200.jpg

If I wished to completely solve the Sudoku, I would study the solution created by my colleague Fred Koenders. He described it in a blog some time ago (link in Dutch: https://infotopics.nl/blog/2018/07/20/sudoku-solver-met-alteryx/)

 

Best,
 
Roland
 
Infotopics - Benelux partner of the year
Empowering business through analytics. See, Understand, Act!