@chamodanethra/sudoku_solver-wasm

An optimized backtracking algorithm using Rust to solve a sudoku grid with wasm-pack

Usage no npm install needed!

<script type="module">
  import chamodanethraSudokuSolverWasm from 'https://cdn.skypack.dev/@chamodanethra/sudoku_solver-wasm';
</script>

README

sudoku_solver-wasm

An optimized backtracking algorithm using Rust to solve a sudoku grid with wasm-pack

Input

A unique sudoku puzzle in the form of a String with zeros in the empty cells delimited by new line characters at the end of each row.

Output

A string with the relevant answer returned as a String delimited by new line characters at the end of each row.

Further Reading

Follow the details on the url: https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm