Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
New content is available in Academy! You may need to clear your browser cache for an optimal viewing experience

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
Quasar

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
Meteor
Spoiler
Beginner and Intermediate done. I'll post the solutions for advanced when I have more time later.
LifebloomX_0-1580174894901.png

 

Highlighted
Asteroid

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
Pulsar

Here is solution for intermediate leave. 

 

Spoiler
Capture.PNG

 

Highlighted
Asteroid

Solved Beginner level!

 

Spoiler
nivi_s_0-1580179767148.png
Highlighted
Meteoroid

Here's my attempt at Beginner and Intermediate

Spoiler
  Beginner.pngIntermediate.png

 

Highlighted
Asteroid

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
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!