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 really want to know what was forbidden in this kata though, no clue. Is it enumerate()?
This comment is hidden because it contains spoiler information about the solution
yup. And it's far more efficient, allowing to have more random tests. ;)
(I made some edits again)
Oh I guess, Blind4Basics, you and I changed simultaneously but I love your code so let's stick with it.
Thank you FArekkusu. Gave it some more randomness. It's still not 100% random though. I don't know how to make it more random without my test code being running in O(n)
Thank you so much Blind4Basics! Now I know the nightmare.
done
done
A list of fixed values is not random.
won't be enough
warning: here, you're entering the nightmare of forbidding something in python. I went through that already, so I'll patch your kata, but even that has some drawbacks (for instance, some of the stuff I designed do not work anymore, apparently... Maybe some changes in cw's environment...)
That's a good point! I did it.
Thank you for pointing out. I was so naive. Added some random variation.
The large test cases should be somewhat random.
Otherwise, you can just hardcode them (it).
I passed by using simple linear search :P
This comment is hidden because it contains spoiler information about the solution
Loading more items...