Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
wow such an amazing equation to make 3x3 box in the set3Array, I think it would be better if you add condition to check if there 0 in the cell
( set1Array.size != 9 || set2Array.size != 9 || set3Array.size != 9 ||set1Array.has(0) ||set2Array.has(0) ||set3Array.has(0))
Input validation isn't required in this kata.
In this case everything is OK. Sudoku includes only 0-9 numbers.
This solution works for the given tests, but if you insert random numbers (E.g. - 11, 99) it does not detect any problem.