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! Glad you enjoyed it.
Thanks, this is definitely an improvement.
Thank you :)
I've been away from Codewars from a while, but better late than never -- thanks for your kind words!
I wonder if you're aware of the issue that Blind4Basics has raised for this kata?
I'm not sure what it's about -- perhaps not everyone has given a suggested rank for this kata. Anyway, I thought that you might like to look into it if you want to get the kata out of beta.
I wonder if you're aware of the issue that Blind4Basics has raised for this kata?
I'm not sure what it's about -- perhaps not everyone has given a suggested rank for this kata. Anyway, I thought that you might like to look into it if you want to get the kata out of beta.
I wonder if you're aware of the issue that Blind4Basics has raised for this kata?
I'm not sure what it's about -- perhaps not everyone has given a suggested rank for this kata. Anyway, I thought that you might like to look into it if you want to get the kata out of beta.
I've added a Rust translation: https://www.codewars.com/kumite/608a6662aec3f60028e587be?sel=608a6662aec3f60028e587be ... could you have a look at it and approve it if it's OK? I've basically just translated the Python tests into Rust, except that I've substituted a translation of my own Python solution as a reference implementation (it was just easier to to translate code I was already familiar with). To double check that my solution/reference implementation is correct, I also added a few more fixed tests for large grids.
I've taken the liberty of editing your description a little to make it a bit clearer and more idiomatic. I also added a more exact explanation of what a 'leak' entails.
I've just written a Rust translation for this kata: https://www.codewars.com/kumite/60862385fdfce800437ddb46?sel=60862385fdfce800437ddb46.
I took the liberty of changing the format from writing a class to simply writing a function, as I think the latter technique is a bit more idiomatic in Rust. Hope that's OK.
Not until now, no. But I can see the problem. I assume it was you who hid my solution from the list just now (I can see the message "This solution group is hidden from the list." at the top of my solution) -- thanks for doing that, and I'll try to keep this issue in mind when doing other kata series in future.
This comment is hidden because it contains spoiler information about the solution
I've just posted an issue regarding the Rust translation. Maybe you'd like to take a look at it.
Edit: never mind. The error is in my own code, not the Rust kata. I've removed the issue.
Strange... I don't know how my solutions all ended up hidden. Anyway, I had a look at your forked versions of the kata and I see the problem now -- the quadratic slowdown happens when a short cycle is repeated throughout the sequence only to be thwarted right at the end.
I'll have a bit more of a think about how to respond to this and get back to you.
Update: the input lengths have been increased to a maximum of 10,000,000 in order to make the kata a bit more challenging (and in response to the issue raised by Unnamed).
I'm assuming that since the issue involves the length of sequences tested, and I've now increased the maximum from 10,000 to 10,000,000, that the issue is now resolved.
Loading more items...