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 comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I was going to reply with these same critiques but I see someone else beat me to it. Anything using streams tends to look clever but there's no excuse for calling the same function twice for the same values. It's even called here a third time for every number that's a factor.
the use of the stream and the brute-force algorithm makes this solution super slow
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution