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.
But this code will produce an incorrect answer to arr = [1,1,1]. Or do I understand something wrong?
it's very good
welcome to the ternary operator club!! clean code at its finest!! :)
.
Let's not give anyone any stupid ideas, please.
This comment has been deleted.
I'm so happy that my solution is the same! Thank you :)
This comment is hidden because it contains spoiler information about the solution
same
Actually good one liner! Mine is kinda similar but a bit longer)
This is awesome!
Cool!
beautiful!
Just when I think I did good, someone else does it in one line TT
This comment is hidden because it contains spoiler information about the solution
Loading more items...