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.
A nice and understandable one. Thank you.
Thank you. As a self-taught programmer I think I really need this, so your edits are highly appreciated. There is some difference between solving (that is, actually using) and creating tasks. There is obviously a lot to be learned by doing the latter.
What can I do with the code you have provided? Can I somehow take it back into the kata, and republish it; or is 'Retired' a permanent condition which means it is unavailable for any improvement and is trashed once and for all?
I really lack knowledge about collaborative programming. That is, I know how to write something (some small thing) on my own and push or pull things to/from github, but not together with other folks. So even what a 'fork' means is not completely clear to me. I sort of understand that it means changing somebody else's code and publishing with a link to the original but that might not be true either.
Hello,
I got it. I will try to improve this. I haven't written a kata before, so I will try and make use of everything you experienced guys write here. Thanks!
Thank you, I will try to fix it. It's my first kata.
The image is unavailable, so there is no example now.
First I was amazed at the input image. But five minutes later I understood it was not the actual example but the 'unavailable' plug.
Say
console.log(peopleInLine)
and you will know at least what you get at the input, so it will help you sort it out.Hi. I had the same problem, you can read the discussion below. You can solve it by copying your array first, that is, make
arr1
and copyarr
into it, and then do the rest. Otherwise you will get the same error.Yes, displaced by anything, including
0
. Just copy the array instead of manipulating the input array.'How can this be' actually stood for 'but it must return true'.
Thank you! I got it about modifying inputs.
It is JavaScript. Looking at the tests was helpful but I didn't see it at the very beginning. So I thought it could be put in the description.
How can this be? Both of them are just sorted ascending, right?
In the JavaScript version I unfortunately get the following:
AND:
First I did not realize that the input was an array of arrays, not an array of strings, and I got stuck. Could we probably mention it in the description for clarity? Thank you.
This is not a coding but a physics problem.
Thank you for this tough problem. I've been stuck with it for some time, and it's interesting to tackle this.
At last I've done it. It's been the trickiest one so far.