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.
Something like this :)
Too many loops. IntStream.of and Arrays.copyOfRange and sum are alle loops.
Took 26052 ms to run for 10000000 runs
Too many loops. try doing it with two. Took 2100 ms for 10000000 runs
Very slow. Took 47403 ms for 10000000 runs.
Good for readability. Took 2300 ms for 10000000 runs
Clever. Takes about 1400ms to run for 10000000 runs