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.
Written by me, commented and refactored by ChatGPT
My solution passed all the tests, although it shouldn't have.
https://www.codewars.com/kata/reviews/5930214c40205d2795000037/groups/63dcb3f00779ad0001e4bcfa
I am not a native either, and I understand your struggle. What I was saying is that the sample test marked as valid is actually invalid.
Do you speak Russian by any chance?
But there is no "Z"
847|265|103
136|708|245
052|143|867
---+---+---
420|671|538
678|532|014
315|480|726
---+---+---
564|017|382
781|324|650
203|856|471
==> expected: true but was: false
This sample test is described as "valid BUT with 0s instead of 9s". That "but" renders the solution invalid, since the incomplete sudoku can't be considered solved.
It even says it in the task: