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.
This line "1234567890".contains(s) is brilliant!
This comment is hidden because it contains spoiler information about the solution
I feel really silly now, this is great.
I don't get a single line XD
Don't be, I am 35 lines ahead :)
Great! Now I feel stupid, lol...
I like how minimalistic this looks. Very clever. Though it's not for other word combinations as stated below, it's still very clever! Nice going.
That method is okay for multiple instance of the same word but it makes a lot of sense that it's not for words containing each other and not for words with their reversals. Thanks for this reminder.
I love this solution :D
Nice one :)
As a little improvements :
I really like the simplistic clarity of this solution. Thanks!
Like this one so much!
It's a solution who most people don't understand.
short, yes. smart, yes. clever, yes. but not best practices.
Nice, short solution. :)
How does Stream.<Predicate>of() work? Is it casting the output of the method?
Loading more items...