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
Thanks I forgot about fractions
This comment is hidden because it contains spoiler information about the solution
I am trying to understand you answer but I don't see how it is working.
Can you explain it please?
I always look at other answers after I solve a challenge to see how people solve the code with less lines, i've learned a lot looking at other people's answers. But I don't understand yours
It is hard to understand the instructions, and i read in other comments that english is not your native language so it is understandable but let me make sure i understand this right before I try to solve it. I would appreciate if you could answer my questions.
if the robot returns to the point it started at in that turn in less than K moves that does NOT count towards the total. ( the total being the answer that is retured, 8 in the case of the instructions.
So the robot has to return to the start point in exactly k moves to count toward the total?
But it also sounds like your saying if the robert returns to the start point even if it takes more moves that "k" to count that towards the total too?
Am i understading this right?
thanks for the info myjinxin2015.
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 a question. I figured out the first part of your kata challenge. i got rid of all even numbers and anything that isn't a number, then i added the sub-arrays up into one number.
But when I am trying to find the least common multiple how far ahead of the numbers should i look?
On some of the tests the expected answer is 0, but those numbers probably have a common multiple way up in the big numbers. And even if they don't all share a commone multiple if I make a code that looks and doesn't find a number it would keep looking and it would be the same as running an infinte loop and the code would crash.
So how far should i test these numbers together, i assume you want us to stop looking at some point and put 0.
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
This comment is hidden because it contains spoiler information about the solution
My bad about the date object, i didn't read the instructions enough. I didn't know that was an actual date object, i thought you were just making it for this kata.
And sorry for posting a question from another kata on this one by mistake. I have no idea how that happened.
Loading more items...