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
Tic Tac Toe FTW
Sum of first n terms of a harmonic progression
Rotate input square matrix 90 degrees CCW without rot90
multiply by three
N-Dimensional Array Slice
Next Lower Power of B
Make a 1 hot vector
Number of 1s in the Binary Representation of a Number
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