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
God is in the little details...
No need to be, every solution (unless it's absolute garbage like you YandereDev style developer) is alright tbh
i did something similar to that with a dict and exiting as soon as the value(number of appearance) of a key(letter) is more than 1.
Dude ... I just finished this, found the same solution ... EXCEPT, I included a "if not isdigit()" check into the return statement, because my dumb-ass though that the "moOse" example in the description had a zero instead of a capital 'o'... so I thought that we had to make sure that if a number is included, function returns False. Once I finished and saw your solution, I was looking at it for like solid 3 minutes, asking myself why is this here if it obviously doesn't fufill one of the requirements, before finally realizing that I confuzed 0 and O .... **** me.
no solution can be cleaner than mine
when your code finally hits a clever solution!!!
I'm glad I was able to see this and learn something new
Amazing solution, I didn't even think about this
Congrats dude! I have a similar solution.
I feel that too.
After solving a problem, I now think to myself, how can I rewrite this as a one liner? It's not always efficient but it's clever.
This comment is hidden because it contains spoiler information about the solution
I feel myself with level of dumbness higher than ever...
The string is walked through twice here, which isn't optimal in terms of time. The time complexity added is O(1) though
These guys can probably just simulate a whole universe using their one-liners and built-in python functions and environments. Nice solution!
Loading more items...