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
Finding Perfect Squares
Which values occur exactly three times?
Extra safe primes
Return the 'Size' of a String of Code
Number of Circles in a Number
Make a 1 hot vector
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