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 see them all.
None of the images in the description are showing
Python new test framework should be used (Refer this for more detail)
It is left to you. The only requirements is that the result be lowercase and have a maximal length of 13 (including the
short.ly/
prefix)Thanks a lot, this issue was not only in dart but in all languages :)
DART > The regex you use to check if shortURL (short.ly/[a-z]{1,4}) is valid is wrong. You forgot to escape the dot, meaning that "shorttly/abcd" is still valid URL.
With this you can circumvent the problem with big numbers, since the number of valid strings is actually 14_257_620, not 475_254. For example in my solution once i got to number 470_000, i resetted the number to 0, and changed the url from "short.ly" to "shorttly". This way i cheated the regex, and my solution was valid. THIS IS WRONG!
Please fix the regex to short.ly/[a-z]{1,4}
After getting this one wrong a hundred times in a hundred ways, I finally stopped being dumb and now I think it's a good kata
approved
JS: Currently available in Node v18.x, resolving
this one keeps freezing my browser-- is that happening to anyone else?
If you could explain a little better what I should do here
Your code is very inefficient with the random RNG seed generator
many random tests are passed but one is failed and the graphs (got vs. expected) show many differences. It would be great if I could get the coefficients or the bit string for debug too.
Loading more items...