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.
1e-6 now instead of 1e-9, is it ok?
Fixed.
Your solution passes all non performance tests now on submit.
You are right, the ref sol was 1 off in some edge case. In this example, it mistakenly thought it would make the view. Fixed
done
I found the bug in reference solution. I retested with each of the current submissions. Thanks for pointing this out.
yup, I definitely made a mistake
This comment is hidden because it contains spoiler information about the solution
copy & paste
fixed
It's not a duplicate. The integers to be paired in that kata is arbitrary, so only brute-force is viable. This kata specifically pairs up integers from
1
to2n
, which admits different kinds of solutions.My solution is of length 25, but don't shorten the character limit. I find that even 26 is slightly too strict for a 6 kyu kata.
This comment is hidden because it contains spoiler information about the solution
[notification message]
This comment is hidden because it contains spoiler information about the solution
Loading more items...