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.
It fails only this sample test, but will probably fail more test cases from full test suite.
Yes, your solution has an error.
Did you try to recreate the test case for
Number.MAX_SAFE_INTEGER
locally and see how it works and why it might fail?Did you try your solution with
Number.MAX_SAFE_INTEGER
?Your solution fails sample test for
Number.MAX_SAFE_INTEGER
, or actually for any number lager than 32 bytes.It's about
descending
order, not reverse order. 2110 > 1201