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.
I think your issue is you're getting stuck in an infinite while loop when the solution doesn't reduce to 0. The random tests include random numbers that won't necessarily reduce to 0 and should return false.
Hope that helps!
just use the spoiler flag, that the tool for that. ;)
EDIT: too late ;)
But use indentation so that your code is readable.
Could you post your solution so I could try and replicate your problem? Thanks!
do not expect any upper bound, act like if it might be infinite.
The last test is a series of random arrays with random lengths. I wonder how that is effecting your solution and the callstack error?
Hmmmmm, I will take a look.
This should be adressed more clearly.
The object exists already, the letters are all uppercase.
return firstName['D']
for example will get you the name for 'D'.This comment is hidden because it contains spoiler information about the solution
Hi, what language you used?