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 don't think this is best practice
solution is smart
but fighting real war you could come in short
'aye' in a.values() returns True also when too short in men
easy XD
Oh man that's clever. I'm just learning Python and I had no idea int() could be used that way.
hell nah
This is O(n^2) for an O(n) problem
a bit long :)
This comment is hidden because it contains spoiler information about the solution
this is not a very good solution. It does not work as expected for an empty input string or for any string that has 1 character (this causes an exception by using pop on an empty list)
You only needed one loop and that would have been enough to create both lists.
The best solution so far! So clever and simple!
what are u even talking , what do u mean readable ? lol ur mind should keep track of 2 loops. This code is absolute satire
got it
thx man
No, JavaScript's interpreter understands both cases with the same way, it's a little bit styled.
Loading more items...