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.
You probably have a quadratic time solution !
You can solve this only looping through it once and have it be linear time.
you're right, guess I need to improve my reading skills lol
n = 1000003: expected [ [ 550320, 908566 ],
[ 908566, 550320 ],
[ 559756, 893250 ],
[ 893250, 559756 ] ] to deeply equal [ [ 550320, 908566 ],
[ 559756, 893250 ],
[ 893250, 559756 ],
[ 908566, 550320 ] ]
Just have this issue where I have to sort result even tho it's technicaly right but order is wrong?