Buy real YouTube subscribers. Best price and warranty.
Get Free YouTube Subscribers, Views and Likes

Programming a Backtracking Sudoku Solver in Scala

Follow
Rock the JVM

Interview practice/prep course in Scala:
https://rockthejvm.com/p/scalafuncti...

Written tutorial: https://blog.rockthejvm.com/sudokuba...

In this video, we learn how to program a Sudoku solver in Scala using recursionbased backtracking. This backtracking approach is not Scalaspecific, though it can easily be adapted to other languages, including Java, Kotlin, etc

Contents:
0:00 intro and grabbing an example
2:44 printing a board
7:33 validating potential solutions
16:23 the backtracking algorithm

Follow Rock the JVM on:
LinkedIn:   / rockthejvm  
Twitter:   / rockthejvm  
Blog: https://blog.rockthejvm.com
Website: https://rockthejvm.com

posted by mahashumu82