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've never had to pay for using Codewars, but here's the kicker, you can try this same code out on your local machine! Just make a list with 10 million entries and have your function run over it. You can even have just the same number repeated that many times.
Sometimes the servers can be slow, but this problem expects a solution that makes even parsing 10 million results a cinch!
Sorry, i used Codewars a year or more earlier and never had such problems. They obviously want you to pay for it.
If your solution times out, it means it does not pass all tests. It passes some tests, but not all of them, because it runs out of time.
Paid users have some additional features, but they do not get easier tests.
Great, i passed all test but cant finish the Kata, since i get the timeout by server. No idea how i could refactor any further to get the Kata done. Pay to win style? ;/
Mednoob, be a bit more kind.
Great kata to exercise dynamic programming concepts with, thank you.
Removing Python since C# is complete and I need time to make it use a bytes approach
Appreciate you! I'll get on that when I come back to the Python edits!
Probably you wanna use this: https://docs.python.org/3/library/io.html#io.BytesIO
Just don't have any tests over a thousand bytes or so, literally pointless.
Tests should not print to console.
You can't (safely). There's a few similar interfaces in Python that could be used though.
This comment is hidden because it contains spoiler information about the solution
Corrected.
Makes sense. Went and reduced the 'super large' tests and reduced the overall number of tests period, since FNV1 is fairly simple to implement.
Loading more items...