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.
Because you have the initalization of your arr variable inside your loop so it continues to get reset.:)
Hi! I can't seem to see why this isn't working. Any clues?
Thanks in advance!
Someone with a legitimate argument at least. You're absolutely right, and I retract my initial discourse. I guess I was going off of the majority of 8 kyu kata not being so simple. Thanks for clearing that up.
According to the kata ranking system here is a description of 8 kyu: Imgur
Seems to fit "Basic variable assignment" and "Basic math operations"
lol. what is this the military? i wasnt disrespecting him, merely giving constructive criticism. you shouldn't take yourself and your 'rank' so seriously, because ultimately, it doesn't matter.
You should respect Kyu rang 8.
I don't think this was really challenging enough to be on here, this is more something you'd learn on Codecademy. I thought this site was for people who had the working basics of programming down at least.
This comment is hidden because it contains spoiler information about the solution
Test cases check if your method return proper value, so you should add proper keyword :)
A "power of 4" is something like
4^x
, notx^4
.Is 3^4 not 81? I feel like I'm missing something here...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I think where you're going wrong is that your
for
loop capsi
byn.length
rather than the value ofn
.Also your short-if should probably have a false condition with
:
This comment is hidden because it contains spoiler information about the solution
Loading more items...