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.
Good job mate🤝
You never get a timeout?
Thanks for pointing this out and sharing.
Yes, and I just learned from this that ** is an exponentation operator. so n**3 is n to the power of 3. Same as Math.pow(n, 3).
Thanks to you both.
same as hector said, in JS is Math.pow(n,3)
n^2 = n to the power of 2
n^3 = n to the power of 3 ( cube )
if i am not mistaken
I couldn't attempt this kata because I do not understand what they mean by ^, please can anyone explain to me?
Nice/Clever and readable (would have minded a
{
or}
though). I couldn't help thinking I needed to count down from something...very annoyingCan you give a reference that states that modifying a numeric parameter is a bad practice?
Agree. Smaller is not always better. Readability was sacrificed without performance gain, and paramater m modified.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Clever, compact but not the best practice
wow
Loading more items...