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.
definetly not lol
Please don't post solutions in Discourse. It means you can make changes (if you want) to your code before submitting it. After that, that's the solution it'll show no matter how many times you submit another version. Note this kata is a Draft, so you can't submit your solution.
Probably forgot to delete it
My explanation wasn't very good, but when the Kata says it wants the "the number of times where two integers in the array have a difference of n" it is ignoring the sign of the difference. Appreciate this could be clearer, but this can be inferred from the test cases.
.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution