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 think it's clever because I was really trying to figure out a way to solve it without relying on lambda
but couldn't quite figure it out because if two items have the same key, their original order will be preserved. However, by reversing the words, I inadvertently changed the order for words with the same last character. Surely this example here is not best practice but a unique approach I appreciate.
Complexity here I think is:
O(n×m), where n is the length of the alphabet and m is the number of words in listx
Why people votes it as clever ?? Algo has O(n**2) time
.
@v.popovich: how would you know what counts as an issue and what doesn't?
At least it's been retired, so you don't have to solve all these issues anymore.
Well, PEP8 got approved in 2001 ~ 20 years ago which described this naming convention, so it is more or less strong standard(something like goverment recommended currency)
your solution doens't pass one test, when i tryed it, so, this is a random, i accepted it
But you wrote in the description 'Keep in mind leap years'. You didn't test something like '2020.02.31'. My solution shouldn't pass this kata.
but it's not the issue
@v.popovich : It is a crime:
what do you mean?
this was one of kata condition
it's my first kata, so i will take note of that
there is not only way to solve with 'datetime' library
if it works - solution is correct lol
Loading more items...