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.
This comment is hidden because it contains spoiler information about the solution
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
Because the array itself can't be multiplied or added. You want to use the values inside the array to build another array to return.
You need to return the number of years the person is old.
I'd start by looking at the length of the string
use the concept of median
Do I have to multiply? It states to sum not to multiply so that could mean using any operator as long as you get the sum, right? I'm using java btw
So the author is an idiot because you are unable to comprehend the question? The description makes perfect sense and is written well, so I am not sure why you are attacking them unless you're just a troll.
Take the number 1:
1^1 = 1;
Take the number 89:
8^1 = 8, 9^2 = 81, 8 + 81 = 89;
Take the number 135:
1^1 = 1, 3^2 = 9, 5^3 = 125, 1 + 9 + 125 = 135;
Write code to figure out what numbers fit this pattern and fall within a given range.
Have a rotten day and try not to be a disrespectful ***.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
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 have no idea why its changing the value from 3 to 2.
[1, 2, 2, 8, 5, 4] should equal [1, 3, 2, 8, 5, 4]
This comment is hidden because it contains spoiler information about the solution
Loading more items...