Sudoku Solver in Power Automate Desktop

Published: 05 August 2024
on channel: Dave The RPA Guy
1,110
17

In this Power Automate Desktop (PAD) video, I show every step I took to make a Sudoku Solver in PAD. On easy Sudoku puzzles on LiveSudoku.com, it takes between 20 to 60 seconds most of the time but sometimes 2 or 3 minutes just depending on how unlucky we are, and it took 5 minutes on Medium difficulty when I tested it. I used the backtracking algorithm in my logic, so there are probably ways to make it more efficient, but I’m happy with the results.
---------------------------------------------------------------------------------------------------------
Power Automate Desktop Version 2.46.163.24194
Windows 11 Pro
---------------------------------------------------------------------------------------------------------
  / davemorrisatl  
---------------------------------------------------------------------------------------------------------
00:00 Introduction
01:52 Explaining Sudoku and the Backtracking algorithm
04:44 Main Flow and Data Entry Strategy
07:21 Subflow - Get Sudoku Data (Read from Webpage)
14:51 Subflow - Update Cell (Enter value in UI)
24:59 Subflow - Solve By Backtracking (Start subflow)
26:47 Subflow - Find Next Editable Cell
34:45 Subflow - Validate Current Value (Start subflow)
43:01 Subflow - Get Box Ranges
48:18 Subflow - Validate Current Value (Finish subflow)
52:17 Subflow - Solve By Backtracking (Continue subflow)
58:30 Subflow - Find Previous Editable Cell
01:01:08 Subflow - Solve By Backtracking (Finish subflow)
1:02:52 Testing, Troubleshooting, and Fixing Mistakes
1:09:46 Final Successful Tests and Conclusion


Watch video Sudoku Solver in Power Automate Desktop online without registration, duration hours minute second in high quality. This video was added by user Dave The RPA Guy 05 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,110 once and liked it 17 people.