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
First non-zero element in each column
Create a square matrix of multiples
Create an index-powered vector
Min of a Matrix
Make a 1 hot vector
First N Perfect Squares
Give the Shortest Path Through The Maze
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