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.
Nested ternary operators are a hell to maintain. Not a good practice.
This comment is hidden because it contains spoiler information about the solution
Nesting ternary operators is not a good practice.
I came up with the same solution.
I agree a filter having side effects is a bad practice. But I don't think it is a problem when side effects are limited to a local variable created exclusively for that filter.
This should be 7kyu.
Very clever!
Could be refactored to take advantage of Java 9's map initialization.
Clever, but I don't see how nesting ternary operators is a good practice.
You should always try to find methods, with out withour Google. Is the way to learn!
This comment is hidden because it contains spoiler information about the solution
I miss the class Mom
If there's no solution, better return an empty array than null.