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.
I don't even know whats going on
this...
this is perfection.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
slight speedup by skipping multiples of 2 and 3
The description looks good.
what does -> do?
where is row declared in valid9?
can someone explain the code please?
couldn't you avoid the "series whose unique numbers add up to 45 but are not valid sudoku wins. For example 2, 2, 9, 9, 6, 1, 8, 14, 5 or 0, 0, 0, 0, 0, 0, 0, 45. " by doing row.uniq.size == 9
what does -> do?
where is row declared in valid9?
can someone explain the code please?
credit to @marksiemers for
i/9/3*3 + i%9/3 == x
This comment is hidden because it contains spoiler information about the solution
@herathe - I dislike the monkeypatching of
Array
=\This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Likely code runner server performance issues, check: https://codewars.statuspage.io/
Likely code runner server performance issues, check: https://codewars.statuspage.io/
Loading more items...