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.
This comment is hidden because it contains spoiler information about the solution
Your code is not exactly correct, your recursive call is not right.
Try adding something like this in your local IDE:
console.log("For n=9266, my solution returned: " + SubtractSum(9266));
and see what happens.This comment is hidden because it contains spoiler information about the solution
ok i'm sorry the mistake is in my regex i write 1-9 not 0-9
No. The test is fine:
0
is a number, not a symbol.result of this test case assert.sameOrderedMembers(solve("@mw>0=QD-iAx!rp9TaG?o&M%l$34L.nbft"), [7,13,4,10]); is inncorrect
must be [ 7, 13, 3, 11 ]