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.
nice
interesting
nice
smart
which I already say just 2 comments below... ;)
best
simple, but not effinecy, because it is O(n * log(n))(because sorting), it could be O(n)
yes, because in your sum(ord(c) for c in s) you traverse list two times, first "ord(c) for c in s" and second sum().
the best solution is when you do it for the on traverse.
beacuse "sum" is reserved name for sum function. and we cant use reserved names if follow PEP8 rules.
why is sum not okay?
nice
Can someone please explain what "modulus" has to do with the division with remainder?
what is exponent mean
nice
nice
Loading more items...