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.
Unfortunately, as I wrote in the description, the tests were broken in an earlier revision, but Codewars is not allowing me to edit the tests anymore. I am sorry for the trouble.
This comment is hidden because it contains spoiler information about the solution
I get errors
spy.return (val)
returnstrue
ifspy
has ever returnedval
. I can’t understand what’s wrong ...У меня что то похожее с поиском числа фибоначи было, небольшое число искало, а все эти миллиарды на компе пашут, а сайт посылает, мол слишком долго. я психанул и забабахал масив с простыми числами до +-10к...