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.
python new test framework + random tests are required. updated in this fork
Already raised as issue
I'm confused as to why it knows c represents characters in the strings
very nice
Please read the description. That input isn't valid for this kata.
I think the same than you, maybe its correct because they dont put a test in order like you write but its a posibility so for my is not the correct answer
This comment is hidden because it contains spoiler information about the solution
Clever!...Importing just the method would have been More Clever
This comment is hidden because it contains spoiler information about the solution
oh that's smart, I didn't think of the set, but I think I did one step better by just making a range of min, max of the seq
what the *** ?????
Seeing this for first time
cool answer
But we can't see the return value if he wrote like this, so we still need to print the result
This is an elegant and the most pythonic way of solving the problem however it results in a time complexity of O(n^2)/ space complexity of O(1) whereas if someone did a dictionary its only O(n)/space complexity of O(k). It may be great in terms of space however in thousands to millions of test cases in real life scenarios, it would take time but still a good
code though.
Loading more items...