Pinned Loading
-
-
-
Sudoku Solver in Scala
Sudoku Solver in Scala 1val n = 9
2val s = Math.sqrt(n).toInt
3type Board = IndexedSeq[IndexedSeq[Int]]
45def solve(board: Board, cell: Int = 0): Option[Board] = (cell%n, cell/n) match {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.