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.
some divide-and-conquer algorithm would speed stuff up?
Thank you so much for the hint.
Thank you so much, yeah I got the output right to for a 5kyu kata too but I got a long way ahead for optimization. Thanks for your advice,
This comment is hidden because it contains spoiler information about the solution
Hello my thing basically works but I'm getting this too:
100 Random Tests
It should works for random tests too.
Log
Testing for:
n = 80350
I'm new here can I get a hint?
my code works for the most part but I'm stuck with the error 'expected undefined to equal " " ' I don't actually get it. When I change it arounf instead I get 'expected " " to equal undefined'
Just realized, shame on me!!! Anyways I always find it a lot easier to find the mistake after posting for help which then I don't need. Thank you.
My code returns the required results but I'm still getting:
expected undefined to deeply equal [ +0, +0, +0 ]
my js code works fine in my pc, but in my attempts I get 7 is not turning TRUE, 7 shouldn't be consider a narcisitic number acording the definition given but browsing the internet I've just found for some reason all 10 numbers from 0 to 9 are considered narcisitic...
From the problem definition:
"The function will be given two parameters. Each parameter will be a string of multiple integers separated by a single space. Each string.."
must it go "Each parameter will be an ARRAY of multiple integers" ?