Problem description says the input can be a 9x9 matrix, but the test suite gives a 3x3 instead.
No 3x3 matrix in the description
3x3 for test
The second test case of matrix is not required..that never happens with sudoku. Only rows and columns should be inputs.
I've always wanted to create an algorithm to solve sudoku
neat & quick
This is really smart!
Looking at the test cases first will save lots of complications
Increment a number, given its digits
Calculate the area of a triangle between three points
Create matrix of replicated elements
Rounding off numbers to n decimals
Number of 1s in the Binary Representation of a Number
Project Euler: Problem 16, Sums of Digits of Powers of Two
The Dark Side of the Die
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office