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.
Isntead of
result[i] = (BigInteger)Math.Pow(2,i);
, I wroteresult[i] = Math.Pow(2,i);
and it threw an error. Why?How
key=catalog.get
works? I don't understand the.get
.What is
%
for? I read this explanation but I can't understand: https://www.php.net/manual/en/function.sprintf.phpThank you :)
Thank you :)
Thanks :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Is JS
.flat()
unavailavle on Codewars?I don't know why
-1
ofarr.length - 1
is necessary.Thank you :)
I know
||
means OR, but I didn't know|
. Now I got it! It's a bitwise OR. Thank you!@stonith
Thank you!
I posted an explanation of this solution to evarx78's comment. I hope it will help you too.
This comment is hidden because it contains spoiler information about the solution
Loading more items...