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 was looking for that exact solution of mine :-D
Look at this for example (actually that makes me now think that I maybe also need to check for certain imports on this one)
It's actually quite easy to cheese using compression, so the current limit seems fine
Sorry, I'm relatively new to how codewars works, so I wasn't sure whether to use issue or suggestion.
idk what the largest order of hilbert curve you test for is, but I'd say take that, sqrt the amount of characters in that string and set it to that.
I mean the rigorous way would be to actually try cheesing this one, but …that sounds like work 😅
Sounds more like a suggestion than an issue. Also using compression I'd assume the number of lines for a hardcoded solution can be reduced by quite a bit (I made some similar katas where that was the case). Anyways I'd want to have the cap somewhere and thought 4000 lines of code are quite reasonable. How many lines of code would you suggest to use? ^^
The limit of 4000 chars was a bit low… I ran into it in the start with a less optimized version. Granted, that version also timed out, but … not my point >:P - it takes 2 million chars just to hardcode a 10th order hilbert curve.