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.
Good Kata, nice work! I think updating the Node version would be a good idea. The JS sort method has been stable since 2019 and that should be reflected in the Kata.
the second argument has no utility => either make use of it (but then you have to specify the rules), or just remove it.
duplicate (see messages below)
It is impossible to debug the solution with such huge inputs.
In basic tests cases, add a case for more htan three equal sales values