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.
Based on the problem description and the testing code (assert.deepEqual(digitize(35231), [1, 3, 2, 5, 3]);), n is implied to be a number, not an array or string. :)
you have to sum the highest number and lowest number ,,, why you subtract them
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
a "number" isn't a state of information in javascript
a "number" can be a string, integer, float, double, etc. etc etc.