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
Find state names that end with the letter A
Matrix indexing with two vectors of indices
Check if number exists in vector
Read a Soroban Abacus
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
Recurring Cycle Length (Inspired by Project Euler Problem 26)
Pig Latin to English Translator
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