Problem 114. Check to see if a Sudoku Puzzle is Solved
27.27% Correct | 72.73% Incorrect
Last Solution submitted on May 03, 2023
Show 2 older comments
@bmtran (Bryant Tran) on 28 Jan 2012
Seems like my test suite wasn't robust enough, so I've bolstered it with some trickier situations
yurenchu on 26 May 2017
You should have added a test case with 5*ones(9) as a test matrix.
Asif Newaz on 13 Nov 2019
ur test suite 6 is wrong, isn't it??
Dyuman Joshi on 26 Dec 2020
@bmtran can you explain why test case #6 (toeplitz variation) is false?
@bmtran (Bryant Tran) on 26 Dec 2020
In addition to each row and column needing to have 1 through 9, each 3x3 sub-region must have 1 through 9 as well.
Solution CommentsShow comments
Problem Recent Solvers311
Find common elements in matrix rows
Make a random, non-repeating vector.
Longest run of consecutive numbers
More from this Author56
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!