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 can use
console.log
to print the data to stdout.Hello.. I need help, bcos after my stupidly simple and naive solution with normal sort, which closely didnt make it through timeout,
I came up with another algo, which passes fine first suits of tests (in about 200ms for second part with timeout). Everything looking great, but when performing attempt,
it fails on random tests but I cant see why and what set of data were used.. Im getting wrong counts of gems, weird...