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.
Thanks! I glad you like this solution!
It is using "Intelligence" (an Heuristic) vs "Brute Force" (Backtracking)
It is nice to know that the algoritm also work fine with nxn form 5.. to 50!! Thats is really crazy and with a runtime of less than 5 min... that blob my mind! :)
Thanks for the fedback an the extra info!
I hope more chess and coders enthusisats will enjoy it!
Regards!
Pablo
Thanks! Sorry for the issues...
Fixed Three Issues:
Fixed the issue:
I have put the validator class in a private inner class in the test case class.
I delete the validator from the preloaded part
This comment is hidden because it contains spoiler information about the solution
In the first kumite of this kata, I had inverted "Test Cases" and "Sample Test Cases", so in this commit I am movin all test from "Sample Test Cases" to "Test Cases" and vice versa.
Hello, I have a doubt about how is the way to reach "1 dan" rank since the highest katas have a difficulty of "1 kyu" and today there is not yet published any kay with "1 dan" of difficulty ... Is there some condition that enable the "1 Dan" rank? thanks! pablo
Java-Translation kumited!
https://www.codewars.com/kumite/5ab6dd88e7093b09e40000d5?sel=5ab6dd88e7093b09e40000d5
Could you check and approve it, please?
Java-Translation kumited!
https://www.codewars.com/kumite/5ab5f8a61aaf067a74000040?sel=5ab5f8a61aaf067a74000040
Could you check and approve it, please?
Nice Kata, I like the idea to use the Warnsdorff's Knights euristic approach instead brute force to solve the proble. Do you do something to avoid a solution withput the euristic approuch? I find this very similar to https://www.codewars.com/kata/a-knights-tour/ it is 4K, what are the main differences between this two katas?
These both kata are the same with the same posible solution:
https://www.codewars.com/kata/52223df9e8f98c7aa7000062/
https://www.codewars.com/kata/530e15517bc88ac656000716/
What should be done in this case?
These both kata are the same with the same posible solution:
https://www.codewars.com/kata/52223df9e8f98c7aa7000062/
https://www.codewars.com/kata/530e15517bc88ac656000716/
What should be done in this case?
This comment is hidden because it contains spoiler information about the solution
There are sudoku with multiple solutions with the random test:
For example, for the input in the random test: [[0,4,0,3], [3,0,0,0], [0,1,0,2], [2,3,0,0]]
I got:
Expected: [[1, 4, 2, 3], [3, 2, 1, 4], [4, 1, 3, 2], [2, 3, 4, 1]],
instead got: [[1, 4, 2, 3], [3, 2, 4, 1], [4, 1, 3, 2], [2, 3, 1, 4]]
And both are valid sudoku solutions
Another example for the random test:
[[1, 0, 4, 0], [4, 2, 1, 3], [2, 0, 3, 0], [3, 0, 2, 0]]
Expected: [[1, 3, 4, 2], [4, 2, 1, 3], [2, 1, 3, 4], [3, 4, 2, 1]],
instead got: [[1, 3, 4, 2], [4, 2, 1, 3], [2, 4, 3, 1], [3, 1, 2, 4]]
And both are valid sudoku solutions
After you understand it... this is a very nice kata! Congrats :)
Great Kata! This was the hardest kata that I was trying to solve...
Loading more items...